Skip to content

Commit

Permalink
fix clientkillbyage test
Browse files Browse the repository at this point in the history
  • Loading branch information
ndyakov committed Feb 5, 2025
1 parent 8cfff61 commit 555f384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ var _ = Describe("Commands", func() {
select {
case <-done:
Fail("BLPOP is not blocked.")
case <-time.After(2 * time.Second):
case <-time.After(1 * time.Second):
// ok
}

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(SatisfyAny(Equal(int64(2)), Equal(int64(3)), Equal(int64(4))))

select {
case <-done:
Expand Down

0 comments on commit 555f384

Please sign in to comment.