mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
fix: remove test(XInfoConsumer.idle), not a stable return value when tested.
Signed-off-by: monkey92t <golang@88.com>
This commit is contained in:
parent
6f1a1ac284
commit
f5fbb367e7
@ -5008,7 +5008,6 @@ var _ = Describe("Commands", func() {
|
|||||||
res, err := client.XInfoConsumers(ctx, "stream", "group1").Result()
|
res, err := client.XInfoConsumers(ctx, "stream", "group1").Result()
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
for i := range res {
|
for i := range res {
|
||||||
Expect(res[i].Idle > 0).To(BeTrue())
|
|
||||||
res[i].Idle = 0
|
res[i].Idle = 0
|
||||||
}
|
}
|
||||||
Expect(res).To(Equal([]redis.XInfoConsumer{
|
Expect(res).To(Equal([]redis.XInfoConsumer{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user