Skip to content

Commit

Permalink
Update automation_full_test.py (Azure#22363)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzelin007 authored May 11, 2022
1 parent 2a21e70 commit fae00f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/automation_full_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ def run_instance_modules(self, instance_modules):
serial_tests + ['--profile', f'{profile}', '--pytest-args', '"--durations=0"']
logger.info(cmd)
try:
subprocess.run(cmd)
subprocess.run(cmd, check=True)
except subprocess.CalledProcessError:
error_flag = True
if parallel_tests:
cmd = ['azdev', 'test', '--no-exitfirst', '--verbose'] + \
parallel_tests + ['--profile', f'{profile}', '--pytest-args', '"--durations=0"']
logger.info(cmd)
try:
subprocess.run(cmd)
subprocess.run(cmd, check=True)
except subprocess.CalledProcessError:
error_flag = True
return error_flag
Expand Down

0 comments on commit fae00f4

Please sign in to comment.