We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12cdc0c commit 1cb4e0bCopy full SHA for 1cb4e0b
connection_pool/connection_pool_test.go
@@ -337,7 +337,7 @@ func TestConnectionHandlerOpenUpdateClose(t *testing.T) {
337
for i := 0; i < 100; i++ {
338
// Wait for read_only update, it should report about close connection
339
// with old role.
340
- if h.deactivated >= 1 {
+ if h.discovered >= 3 {
341
break
342
}
343
time.Sleep(poolOpts.CheckTimeout)
0 commit comments