diff options
author | Harald Musum <musum@yahooinc.com> | 2023-05-11 12:06:17 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-05-12 08:10:48 +0200 |
commit | 76b7a6523c1836c2b0fa055f3ed0f114acacd8d9 (patch) | |
tree | 0cdedb6c9f87ad8650382008e0b96c3b9c0092ec /clustercontroller-core/src/test/java/com | |
parent | d15ec78127c5aa3c79156dd23eeeea769b52fc97 (diff) |
Fix exception message
Diffstat (limited to 'clustercontroller-core/src/test/java/com')
-rw-r--r-- | clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/Waiter.java | 2 |
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) { |