1
0
mirror of https://github.com/redis/go-redis.git synced 2025-09-05 20:24:00 +03:00

fix(push): fix tests

This commit is contained in:
Nedyalko Dyakov
2025-07-16 20:45:45 +03:00
parent 11ecbaf87b
commit 409dac11cf
3 changed files with 13 additions and 12 deletions

View File

@@ -2948,7 +2948,8 @@ var _ = Describe("Commands", func() {
res, err = client.HPTTL(ctx, "myhash", "key1", "key2", "key200").Result()
Expect(err).NotTo(HaveOccurred())
Expect(res[0]).To(BeNumerically("~", 10*time.Second.Milliseconds(), 1))
// overhead of the push notification check is about 1-2ms for 100 commands
Expect(res[0]).To(BeNumerically("~", 10*time.Second.Milliseconds(), 2))
})
It("should HGETDEL", Label("hash", "HGETDEL"), func() {