File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 11using System . Collections . Immutable ;
22using Xunit ;
3- using Xunit . Abstractions ;
43
54namespace Ydb . Sdk . Ado . Tests ;
65
76[ Collection ( "PoolManagerTests" ) ]
87[ CollectionDefinition ( "PoolManagerTests" , DisableParallelization = true ) ]
98public class PoolManagerTests
109{
11- private readonly ITestOutputHelper _testOutputHelper ;
12-
13- public PoolManagerTests ( ITestOutputHelper testOutputHelper )
14- {
15- _testOutputHelper = testOutputHelper ;
16- }
17-
1810 [ Theory ]
1911 [ InlineData ( new [ ]
2012 {
@@ -35,11 +27,9 @@ public PoolManagerTests(ITestOutputHelper testOutputHelper)
3527 [ InlineData ( new [ ] { "MinSessionSize=1" } , 1 , 1 ) ] // simple case
3628 public async Task PoolManager_CachingAndCleanup ( string [ ] connectionStrings , int expectedDrivers , int expectedPools )
3729 {
38- _testOutputHelper . WriteLine ( "COUNT:" + PoolManager . Pools . Count ) ;
3930 await YdbConnection . ClearAllPools ( ) ;
4031 PoolManager . Drivers . Clear ( ) ;
41- _testOutputHelper . WriteLine ( "NEXT:" + PoolManager . Pools . Count ) ;
42-
32+
4333 var connections = connectionStrings
4434 . Select ( connectionString => new YdbConnection ( connectionString ) )
4535 . ToImmutableArray ( ) ;
You can’t perform that action at this time.
0 commit comments