Skip to content

Commit 7f8b5a8

Browse files
authored
fix: flaky ClientKillByFilter test (#3268)
1 parent d0f9213 commit 7f8b5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {
217217

218218
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
219219
Expect(killed.Err()).NotTo(HaveOccurred())
220-
Expect(killed.Val()).To(SatisfyAny(Equal(int64(2)), Equal(int64(3)), Equal(int64(4))))
220+
Expect(killed.Val()).To(BeNumerically(">=", 2))
221221

222222
select {
223223
case <-done:

0 commit comments

Comments
 (0)