From 76b7a6523c1836c2b0fa055f3ed0f114acacd8d9 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Thu, 11 May 2023 12:06:17 +0200 Subject: Fix exception message --- .../java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java index 4f79500e84d..7036f7d2c90 100644 --- a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java +++ b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java @@ -115,7 +115,7 @@ public interface Waiter { } Duration timeLeft = Duration.between(Instant.now(), endTime); if (timeLeft.isNegative() || timeLeft.isZero()) - throw new IllegalStateException("Timed out waiting max " + timeout + " ms for " + c + "\n with wait task " + wt + ",\n reason: " + reason); + throw new IllegalStateException("Timed out waiting max " + timeout + " for " + c + "\n with wait task " + wt + ",\n reason: " + reason); if (allowWait) data.getMonitor().wait(Math.min(wt.getWaitTaskFrequencyInMillis(), timeLeft.toMillis())); } catch (InterruptedException e) { -- cgit v1.2.3