diff --git a/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java b/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java index 03a6321..ff1dbd4 100644 --- a/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java +++ b/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java @@ -118,7 +118,7 @@ String generateComments(boolean error, int numTestsExecuted, SortedSet f comments.add(mPatch); } comments.add(""); - if (error) { + if (error && numTestsExecuted == 0) { comments.add(formatError("-1 due to build exiting with an error")); } else { if (addedTests.size() > 0) {