From 17799f05c1b420b623768141e25c6091f1d1e128 Mon Sep 17 00:00:00 2001 From: Martin Krueger Date: Wed, 27 Jan 2021 18:36:18 +0100 Subject: [PATCH] removed deprecated checks --- rabbithole_test.go | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/rabbithole_test.go b/rabbithole_test.go index 6c17c24..2aa6264 100644 --- a/rabbithole_test.go +++ b/rabbithole_test.go @@ -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")) @@ -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("/")