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 f5ce303 commit ec71b93Copy full SHA for ec71b93
pool_test.go
@@ -29,7 +29,7 @@ func TestPool(t *testing.T) {
29
require.Equal(t, []byte(nil), p.Get())
30
x := make([]byte, 8)
31
p.Put(x)
32
- require.Eventually(t, func() bool { return slices.Compare(p.Get(), x) == 0 }, time.Second, time.Second/10)
+ require.Eventually(t, func() bool { return slices.Compare(p.Get(), x) == 0 }, 10*time.Second, time.Second/10)
33
34
})
35
}
0 commit comments