We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c267e commit ee0fb71Copy full SHA for ee0fb71
commands_test.go
@@ -212,18 +212,18 @@ var _ = Describe("Commands", func() {
212
select {
213
case <-done:
214
Fail("BLPOP is not blocked.")
215
- case <-time.After(1 * time.Second):
+ case <-time.After(1100 * time.Millisecond):
216
// ok
217
}
218
219
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
220
Expect(killed.Err()).NotTo(HaveOccurred())
221
- Expect(killed.Val()).To(BeNumerically(">=", 2))
+ Expect(killed.Val()).To(BeNumerically(">=", 1))
222
223
224
225
226
- case <-time.After(time.Second):
+ case <-time.After(200 * time.Millisecond):
227
Fail("BLPOP is still blocked.")
228
229
})
0 commit comments