Skip to content

Commit c80e5eb

Browse files
committed
Sleep to force tests to pass.
1 parent f104214 commit c80e5eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/SideBySide/ConnectionPool.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ public void LeakReaders()
173173

174174
// have to GC for leaked connections to be removed from the pool
175175
GC.Collect();
176+
177+
// HACK: have to sleep (so that RecoverLeakedSessions is called in ConnectionPool.GetSessionAsync?)
178+
Thread.Sleep(250);
176179
}
177180
}
178181

0 commit comments

Comments
 (0)