Skip to content

Commit 98b7f8e

Browse files
committed
[GR-58510] Better error message in CompilationAlarmPhaseTimeTest.
PullRequest: graal/18898
2 parents 3920106 + 1d8c917 commit 98b7f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/debug/test/CompilationAlarmPhaseTimesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testTimeOutRetryToString() {
9494
duration += c;
9595
index++;
9696
}
97-
assert Integer.parseInt(duration) >= 2000 : "Must at least wait for 2000ms";
97+
assert Integer.parseInt(duration) >= 2000 : String.format("Must at least wait for 2000ms but waited %s error was %s", duration, message);
9898
}
9999
}
100100

0 commit comments

Comments
 (0)