Skip to content

Commit

Permalink
Fixed sleep value
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvildanov committed Apr 15, 2024
1 parent 8879e3a commit 9d683aa
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 @@ -200,7 +200,7 @@ var _ = Describe("Commands", func() {
r1 := client.BLPop(ctx, 10, "list")
ch <- r1.Val()
}()
time.Sleep(200 * time.Millisecond)
time.Sleep(2000 * time.Millisecond)
r2 := client.ClientKillByFilter(ctx, "MAXAGE", "1")
Expect(r2.Val()).To(Equal(int64(1)))
Expect(<-ch).To(Equal(s))
Expand Down

0 comments on commit 9d683aa

Please sign in to comment.