Skip to content

Commit d9646d3

Browse files
committed
set BROKEN test status
1 parent 181c6d2 commit d9646d3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ci/jobs/scripts/functional_tests_results.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def _process_test_output(self):
134134
)
135135
)
136136
if "UNKNOWN_DATABASE" in test_results_[-1].info:
137+
test_results_[-1].set_status(Result.StatusExtended.BROKEN)
137138
test_results_[
138139
-1
139140
].info += "\nUnknown database issue detected, label as BROKEN"

ci/praktika/result.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class StatusExtended:
5252
OK = "OK"
5353
FAIL = "FAIL"
5454
SKIPPED = "SKIPPED"
55+
BROKEN = "BROKEN"
5556

5657
class Label:
5758
REQUIRED = "required"
@@ -170,6 +171,7 @@ def is_ok(self):
170171
Result.Status.SUCCESS,
171172
Result.StatusExtended.OK,
172173
Result.StatusExtended.SKIPPED,
174+
Result.StatusExtended.BROKEN,
173175
)
174176

175177
def is_error(self):

0 commit comments

Comments
 (0)