aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-05-11 12:06:17 +0200
committerHarald Musum <musum@yahooinc.com>2023-05-12 08:10:48 +0200
commit76b7a6523c1836c2b0fa055f3ed0f114acacd8d9 (patch)
tree0cdedb6c9f87ad8650382008e0b96c3b9c0092ec
parentd15ec78127c5aa3c79156dd23eeeea769b52fc97 (diff)
Fix exception message
-rw-r--r--clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java2
1 files changed, 1 insertions, 1 deletions
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) {