Example #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;
        }
Example #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;
        }
Example #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);
        }
Example #4
0
 // ReSharper disable once UnusedParameter.Local
 public AdminTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
 {
     _testFixture = testFixture;
     TestLogger.TestOutputHelper = outputHelper;
 }
Example #5
0
 public SpannerStressTests(TestDatabaseFixture testFixture, ITestOutputHelper outputHelper)
 {
     _testFixture = testFixture;
     SpannerOptions.Instance.LogPerformanceTraces = true;
     TestLogger.TestOutputHelper = outputHelper;
 }