From 0899fac4d53b39370c8ba49c453e89d9abdaac0f Mon Sep 17 00:00:00 2001 From: simonh5 Date: Mon, 25 Sep 2023 20:58:41 -0500 Subject: [PATCH] fix: fix flakiness in test HealthCheckConfigValidator#startValidationsShouldFailIfAHealthCheckConfiguredButNotRegistered --- .../io/dropwizard/health/HealthCheckConfigValidatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropwizard-health/src/test/java/io/dropwizard/health/HealthCheckConfigValidatorTest.java b/dropwizard-health/src/test/java/io/dropwizard/health/HealthCheckConfigValidatorTest.java index db9c41c05c1..9b93a018345 100644 --- a/dropwizard-health/src/test/java/io/dropwizard/health/HealthCheckConfigValidatorTest.java +++ b/dropwizard-health/src/test/java/io/dropwizard/health/HealthCheckConfigValidatorTest.java @@ -148,7 +148,7 @@ void startValidationsShouldFailIfAHealthCheckConfiguredButNotRegistered() throws assertThat(logEvent.getFormattedMessage()) .contains(" * check-3"); assertThat(e.getMessage()) - .contains("[check-3, check-2]"); + .contains("check-2", "check-3"); } } }