Skip to content

Commit 3d533b2

Browse files
committed
tests: fix flaky TestConnectionHandlerDeactivated_on_remove
Fixed the fluctuating behavior of the test by increasing the waiting time. Closes #530
1 parent 05c868a commit 3d533b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pool/connection_pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ func TestConnectionHandlerDeactivated_on_remove(t *testing.T) {
13371337

13381338
h := &testDeactivatedErrorHandler{}
13391339
poolOpts := pool.Opts{
1340-
CheckTimeout: 100 * time.Microsecond,
1340+
CheckTimeout: 100 * time.Millisecond,
13411341
ConnectionHandler: h,
13421342
}
13431343
connPool, err := pool.ConnectWithOpts(ctx, poolInstances, poolOpts)

0 commit comments

Comments
 (0)