for test_info in self.test_infos:
|
status = test_info.status
|
if status == "error":
|
# Don't distinguish between failures and errors.
|
status = "fail"
|
elif status == "timeout":
|
# Until EVG-1536 is completed, we shouldn't distinguish between failures and
|
# interrupted tests in the report.json file. In Evergreen, the behavior to sort
|
# tests with the "timeout" test status after tests with the "pass" test status
|
# effectively hides interrupted tests from the test results sidebar unless
|
# sorting by the time taken.
|
status = "fail"
|