예제 #1
0
        // ReSharper disable once UnusedParameter.Local
        public PartitionedReadTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
        {
            _testFixture = testFixture;
#if LoggingOn
            SpannerConnection.ConnectionPoolOptions.LogLevel             = LogLevel.Debug;
            SpannerConnection.ConnectionPoolOptions.LogPerformanceTraces = true;
#endif
            TestLogger.TestOutputHelper = outputHelper;
        }
예제 #2
0
        // ReSharper disable once UnusedParameter.Local
        public WriteTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
        {
            _testFixture = testFixture;
#if LoggingOn
            SpannerConnection.ConnectionPoolOptions.LogLevel                    = LogLevel.Debug;
            SpannerConnection.ConnectionPoolOptions.LogPerformanceTraces        = true;
            SpannerConnection.ConnectionPoolOptions.PerformanceTraceLogInterval = 1000;
#endif
            TestLogger.TestOutputHelper = outputHelper;
        }
예제 #3
0
        // ReSharper disable once UnusedParameter.Local
        public ChunkingTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
        {
            _testFixture = testFixture;
#if LoggingOn
            SpannerConnection.ConnectionPoolOptions.LogLevel                    = LogLevel.Debug;
            SpannerConnection.ConnectionPoolOptions.LogPerformanceTraces        = true;
            SpannerConnection.ConnectionPoolOptions.PerformanceTraceLogInterval = 1000;
#endif
            TestLogger.TestOutputHelper = outputHelper;
            _seed   = Environment.TickCount;
            _random = new Random(_seed);
        }
예제 #4
0
 // ReSharper disable once UnusedParameter.Local
 public AdminTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
 {
     _testFixture = testFixture;
     TestLogger.TestOutputHelper = outputHelper;
 }
예제 #5
0
 public SpannerStressTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
 {
     _testFixture = testFixture;
     SpannerOptions.Instance.LogPerformanceTraces = true;
     TestLogger.TestOutputHelper = outputHelper;
 }