diff options
Diffstat (limited to 'src/zenserver-test/hub-tests.cpp')
| -rw-r--r-- | src/zenserver-test/hub-tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenserver-test/hub-tests.cpp b/src/zenserver-test/hub-tests.cpp index 35a840e5d..e83e18446 100644 --- a/src/zenserver-test/hub-tests.cpp +++ b/src/zenserver-test/hub-tests.cpp @@ -663,10 +663,11 @@ TEST_CASE("hub.consul.provision.registration") Result = HubClient.Post("modules/testmod/deprovision"); REQUIRE(Result); REQUIRE(WaitForConsulService(Client, "testmod", false, 10000)); + REQUIRE(WaitForModuleGone(HubClient, "testmod")); { HttpClient ModClient(fmt::format("http://localhost:{}", ModulePort), kFastTimeout); - CHECK(!ModClient.Get("/health/")); + CHECK(WaitForPortUnreachable(ModClient)); } } |