From b25d772af9881fa68d7ce172cfda311e360da965 Mon Sep 17 00:00:00 2001 From: XmasApple Date: Thu, 28 Sep 2023 16:23:17 +0300 Subject: [PATCH] Remove unused driver --- src/Ydb.Sdk/tests/Auth/TestStaticAuth.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Ydb.Sdk/tests/Auth/TestStaticAuth.cs b/src/Ydb.Sdk/tests/Auth/TestStaticAuth.cs index 5fbf7949..b99ba925 100644 --- a/src/Ydb.Sdk/tests/Auth/TestStaticAuth.cs +++ b/src/Ydb.Sdk/tests/Auth/TestStaticAuth.cs @@ -15,30 +15,15 @@ public class TestStaticAuth : IDisposable private readonly ILoggerFactory? _loggerFactory; private readonly ILogger _logger; - private readonly Driver _anonDriver; - private readonly TableClient _anonTableClient; - public TestStaticAuth(ITestOutputHelper output) { _output = output; _loggerFactory = Utils.GetLoggerFactory() ?? NullLoggerFactory.Instance; _logger = _loggerFactory.CreateLogger(); - - var driverConfig = new DriverConfig( - endpoint: "grpc://localhost:2136", - database: "/local" - ); - - _anonDriver = new Driver(driverConfig, _loggerFactory); - _anonDriver.Initialize().Wait(); - - _anonTableClient = new TableClient(_anonDriver); } public void Dispose() { - _anonTableClient.Dispose(); - _anonDriver.Dispose(); GC.SuppressFinalize(this); }