Skip to content

Commit

Permalink
removed deprecated checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger-sabio committed Jan 27, 2021
1 parent a20ad1e commit 17799f0
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions rabbithole_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ var _ = Describe("Rabbithole", func() {
Ω(err).Should(BeNil())
defer ch.Close()

res, err := rmqc.HealthCheckPortListenerListener(5672)
res, err := rmqc.HealthCheckPortListener(5672)
Ω(err).Should(BeNil())

Ω(res.Status).Should(Equal("ok"))
Expand Down Expand Up @@ -219,44 +219,6 @@ var _ = Describe("Rabbithole", func() {
})
})

Context("GET /aliveness-test/%2F", func() {
It("returns decoded response", func() {
conn := openConnection("/")
defer conn.Close()

ch, err := conn.Channel()
Ω(err).Should(BeNil())

ensureNonZeroMessageRate(ch)

res, err := rmqc.Aliveness("%2F")
Ω(err).Should(BeNil())

Ω(res.Status).Should(Equal("ok"))

ch.Close()
})
})

Context("GET /healthchecks/nodes", func() {
It("returns decoded response", func() {
conn := openConnection("/")
defer conn.Close()

ch, err := conn.Channel()
Ω(err).Should(BeNil())

ensureNonZeroMessageRate(ch)

res, err := rmqc.HealthCheck()
Ω(err).Should(BeNil())

Ω(res.Status).Should(Equal("ok"))

ch.Close()
})
})

Context("GET /overview", func() {
It("returns decoded response", func() {
conn := openConnection("/")
Expand Down

0 comments on commit 17799f0

Please sign in to comment.