From f5fbb367e7d9dfd7f391fc535a7387002232fa8a Mon Sep 17 00:00:00 2001 From: monkey92t Date: Sat, 19 Mar 2022 22:04:22 +0800 Subject: [PATCH] fix: remove test(XInfoConsumer.idle), not a stable return value when tested. Signed-off-by: monkey92t --- commands_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/commands_test.go b/commands_test.go index e1cceb9..81c1bdb 100644 --- a/commands_test.go +++ b/commands_test.go @@ -5008,7 +5008,6 @@ var _ = Describe("Commands", func() { res, err := client.XInfoConsumers(ctx, "stream", "group1").Result() Expect(err).NotTo(HaveOccurred()) for i := range res { - Expect(res[i].Idle > 0).To(BeTrue()) res[i].Idle = 0 } Expect(res).To(Equal([]redis.XInfoConsumer{