Skip to content

Commit ec71b93

Browse files
committed
fix test
1 parent f5ce303 commit ec71b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestPool(t *testing.T) {
2929
require.Equal(t, []byte(nil), p.Get())
3030
x := make([]byte, 8)
3131
p.Put(x)
32-
require.Eventually(t, func() bool { return slices.Compare(p.Get(), x) == 0 }, time.Second, time.Second/10)
32+
require.Eventually(t, func() bool { return slices.Compare(p.Get(), x) == 0 }, 10*time.Second, time.Second/10)
3333
require.Equal(t, []byte(nil), p.Get())
3434
})
3535
}

0 commit comments

Comments
 (0)