Skip to content

Commit

Permalink
fix: flaky ClientKillByFilter test (#3268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndyakov committed Feb 17, 2025
1 parent a604ea5 commit f7087e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {

killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
Expect(killed.Err()).NotTo(HaveOccurred())
Expect(killed.Val()).To(SatisfyAny(Equal(int64(2)), Equal(int64(3))))
Expect(killed.Val()).To(BeNumerically(">=", 2))

select {
case <-done:
Expand Down

0 comments on commit f7087e7

Please sign in to comment.