diff --git a/tests/test_utils/python_scripts/launch_jet_workload.py b/tests/test_utils/python_scripts/launch_jet_workload.py index 43185c7cf1..c663571966 100644 --- a/tests/test_utils/python_scripts/launch_jet_workload.py +++ b/tests/test_utils/python_scripts/launch_jet_workload.py @@ -271,6 +271,9 @@ def main( success = pipeline.get_status() == PipelineStatus.SUCCESS logger.info("Pipeline terminated with status %s", pipeline.get_status().name) + if test_type == "unit_test": + sys.exit(int(not success)) # invert for exit 0 + if test_type != "release": if success: sys.exit(int(not success)) # invert for exit 0