Skip to content

Commit f7087e7

Browse files
committed
fix: flaky ClientKillByFilter test (#3268)
1 parent a604ea5 commit f7087e7

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))))
220+
Expect(killed.Val()).To(BeNumerically(">=", 2))
221221

222222
select {
223223
case <-done:

0 commit comments

Comments
 (0)