Skip to content

Commit eb9f504

Browse files
Add additional info when AzureEngine test fails due to incorrect status on timeout, to trace root cause of intermittent issue.
1 parent 70d010a commit eb9f504

File tree

1 file changed

+2
-1
lines changed
  • jmeter-java-dsl-azure/src/main/java/us/abstracta/jmeter/javadsl/azure

1 file changed

+2
-1
lines changed

jmeter-java-dsl-azure/src/main/java/us/abstracta/jmeter/javadsl/azure/AzureEngine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,8 @@ private TestRun awaitTestEnd(TestRun testRun)
520520
}
521521
if (!testRun.isEnded()) {
522522
String prettyTimeout = prettyDuration(testTimeout);
523-
LOG.warn("Test execution timed out after {}. Stopping test run ...", prettyTimeout);
523+
LOG.warn("Test execution timed out after {} with status {}. Stopping test run ...",
524+
prettyTimeout, testRun.getStatus());
524525
apiClient.stopTestRun(testRun.getId());
525526
LOG.info("Test run stopped.");
526527
throw new TimeoutException("Test execution timed out after " + prettyTimeout);

0 commit comments

Comments
 (0)