Increase pool release conn wait time for CI
No simple way around sleeping for certain tests.
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
|||||||
// completed. To test something that relies on the actual work for Conn.Release being completed we must simply wait.
|
// 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.
|
// This function wraps the sleep so there is more meaning for the callers.
|
||||||
func waitForReleaseToComplete() {
|
func waitForReleaseToComplete() {
|
||||||
time.Sleep(5 * time.Millisecond)
|
time.Sleep(25 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
type execer interface {
|
type execer interface {
|
||||||
|
|||||||
Reference in New Issue
Block a user