From 17ba9f5c4feb423249c4579ae88b5061315bd31d Mon Sep 17 00:00:00 2001 From: John Date: Wed, 16 Jun 2021 10:09:02 +0100 Subject: [PATCH] Force non-gating at script level --- scripts/build/TestImpactAnalysis/tiaf_driver.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/build/TestImpactAnalysis/tiaf_driver.py b/scripts/build/TestImpactAnalysis/tiaf_driver.py index f452b9738f..a21f502a2a 100644 --- a/scripts/build/TestImpactAnalysis/tiaf_driver.py +++ b/scripts/build/TestImpactAnalysis/tiaf_driver.py @@ -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) - \ No newline at end of file + 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) \ No newline at end of file