Increase wait time in timing sensitive test

pull/1116/head
Jack Christensen 2021-11-20 10:28:52 -06:00
parent 09c360f8aa
commit 885f39c368
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ func TestPoolBackgroundChecksMaxConnIdleTime(t *testing.T) {
c, err := db.Acquire(context.Background())
require.NoError(t, err)
c.Release()
time.Sleep(config.HealthCheckPeriod + 50*time.Millisecond)
time.Sleep(config.HealthCheckPeriod + 100*time.Millisecond)
stats := db.Stat()
assert.EqualValues(t, 0, stats.TotalConns())