Force non-gating at script level

This commit is contained in:
John
2021-06-16 10:09:02 +01:00
parent 58ad67dc44
commit 17ba9f5c4f
@@ -54,8 +54,13 @@ def parse_args():
return args
if __name__ == "__main__":
args = parse_args()
tiaf = TestImpact(args.config, args.pipeline, args.dst_commit)
return_code = tiaf.run(args.suite, args.test_failure_policy, args.safe_mode, args.test_timeout, args.global_timeout)
sys.exit(return_code)
try:
args = parse_args()
tiaf = TestImpact(args.config, args.pipeline, args.dst_commit)
return_code = tiaf.run(args.suite, args.test_failure_policy, args.safe_mode, args.test_timeout, args.global_timeout)
# Non-gating will be removed from this script and handled at the job level in SPEC-7413
#sys.exit(return_code)
sys.exit(0)
except:
# Non-gating will be removed from this script and handled at the job level in SPEC-7413
sys.exit(0)