vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 535 forks source link

Intermittent test failures in Healthcheck tests and StaticHandlerTest #2634

Closed tsegismont closed 4 months ago

tsegismont commented 4 months ago

Fix #2551

In StaticHandlerTest, some tests create alternative http servers. We must make sure the original and the replacement servers are closed properly. Otherwise, the test results may be affected by the test execution order.

In HealthCheckTestBase, we make sure the client, the server and the Vert.x server are closed properly, and in this order.