mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
fix: flaky ClientKillByFilter test (#3268)
This commit is contained in:
parent
d0f921357d
commit
7f8b5a8167
@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {
|
|||||||
|
|
||||||
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
|
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
|
||||||
Expect(killed.Err()).NotTo(HaveOccurred())
|
Expect(killed.Err()).NotTo(HaveOccurred())
|
||||||
Expect(killed.Val()).To(SatisfyAny(Equal(int64(2)), Equal(int64(3)), Equal(int64(4))))
|
Expect(killed.Val()).To(BeNumerically(">=", 2))
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-done:
|
case <-done:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user