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