Skip to content

Commit

Permalink
fix: remove test(XInfoConsumer.idle), not a stable return value when …
Browse files Browse the repository at this point in the history
…tested.

Signed-off-by: monkey92t <[email protected]>
  • Loading branch information
monkey92t committed Mar 19, 2022
1 parent 6f1a1ac commit f5fbb36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit f5fbb36

Please sign in to comment.