Skip to content

Commit

Permalink
Relax a test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Dec 16, 2024
1 parent c65853d commit e73426a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rabbithole_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,8 @@ var _ = Describe("RabbitMQ HTTP API client", func() {

xs, err3 := rmqc.GetAllVhostLimits()
Ω(err3).Should(BeNil())
Ω(xs).Should(HaveLen(1))
// there may be limits in virtual hosts used by other client libraries
Ω(len(xs)).Should(BeNumerically(">=", 1))
Ω(xs[0].Vhost).Should(Equal(vh))
Ω(xs[0].Value["max-connections"]).Should(Equal(maxConnections))
Ω(xs[0].Value["max-queues"]).Should(Equal(maxQueues))
Expand Down

0 comments on commit e73426a

Please sign in to comment.