Skip to content

Commit

Permalink
Only display prio > 0 execution on google-chat notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Aug 7, 2024
1 parent 7970a05 commit cc368dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public JSONObject generateNotifyEndTagExecutionV2(Tag tag) throws UnsupportedEnc
for (TestCaseExecution execution : tag.getExecutionsNew()) {
LOG.debug(execution.getControlStatus() + " - " + execution.getControlMessage() + execution.getApplication() + " - " + execution.getDescription());
totallines++;
if (!TestCaseExecution.CONTROLSTATUS_OK.equals(execution.getControlStatus())) {
if (!TestCaseExecution.CONTROLSTATUS_OK.equals(execution.getControlStatus()) && execution.getTestCasePriority() > 0) {
totaltodisplay++;
if (maxlines > totaldisplayed) {
totaldisplayed++;
Expand Down

0 comments on commit cc368dd

Please sign in to comment.