Skip to content

Commit d69a6df

Browse files
fix
1 parent 4ecbc5b commit d69a6df

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/PoolManagerTests.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ public class PoolManagerTests
3030
}, 1, 1)] // simple case
3131
public async Task PoolManager_CachingAndCleanup(string[] connectionStrings, int expectedDrivers, int expectedPools)
3232
{
33-
foreach (var (_, pool) in PoolManager.Pools)
34-
{
35-
await pool.DisposeAsync();
36-
}
33+
await YdbConnection.ClearAllPools();
3734

3835
PoolManager.Pools.Clear();
3936
PoolManager.Drivers.Clear();

0 commit comments

Comments
 (0)