increase timeouts for context switch

This commit is contained in:
William Banfield
2021-08-24 13:59:56 -04:00
parent e956b956d4
commit 243b4ac404
+1 -1
View File
@@ -577,7 +577,7 @@ func requireConnect(t testing.TB, addr string, retries int) {
return
}
// FIXME attempt to yield and let the other goroutine continue execution.
time.Sleep(time.Microsecond)
time.Sleep(time.Microsecond * 100)
}
t.Fatalf("unable to connect to server %s after %d tries: %s", addr, retries, err)
}