From d245ed47f1d0635bf019edcb615b6bedd7d491a2 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Thu, 4 Mar 2021 20:06:15 -0600 Subject: [PATCH] Increase pool release conn wait time for CI No simple way around sleeping for certain tests. --- pgxpool/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgxpool/common_test.go b/pgxpool/common_test.go index 68e13a77..04f370c6 100644 --- a/pgxpool/common_test.go +++ b/pgxpool/common_test.go @@ -17,7 +17,7 @@ import ( // completed. To test something that relies on the actual work for Conn.Release being completed we must simply wait. // This function wraps the sleep so there is more meaning for the callers. func waitForReleaseToComplete() { - time.Sleep(5 * time.Millisecond) + time.Sleep(25 * time.Millisecond) } type execer interface {