diff --git a/scripts/release/debian/test_deb_package.py b/scripts/release/debian/test_deb_package.py index c0f9e886693..4a97f632e7b 100644 --- a/scripts/release/debian/test_deb_package.py +++ b/scripts/release/debian/test_deb_package.py @@ -12,7 +12,7 @@ pytest_base_cmd = '/opt/az/bin/python3 -m pytest -x -v --forked -p no:warnings --log-level=WARN' pytest_parallel_cmd = '{} -n auto'.format(pytest_base_cmd) -serial_test_modules = ['botservice', 'network', 'cloud', 'appservice'] +serial_test_modules = ['botservice', 'network', 'cloud', 'appservice', 'iot', 'resource'] for mod_name in mod_list: cmd = '{} --junit-xml /azure_cli_test_result/{}.xml --pyargs azure.cli.command_modules.{}'.format( @@ -24,5 +24,5 @@ elif exit_code != 0: sys.exit(exit_code) -exit_code = subprocess.call(['{} --junit-xml /azure_cli_test_result/azure-cli-core.xml --pyargs azure.cli.core'.format(pytest_parallel_cmd)], shell=True) +exit_code = subprocess.call(['{} --junit-xml /azure_cli_test_result/azure-cli-core.xml --pyargs azure.cli.core'.format(pytest_base_cmd)], shell=True) sys.exit(exit_code) diff --git a/scripts/release/rpm/test_rpm_package.py b/scripts/release/rpm/test_rpm_package.py index 043f9f97fcd..29462991637 100644 --- a/scripts/release/rpm/test_rpm_package.py +++ b/scripts/release/rpm/test_rpm_package.py @@ -13,7 +13,7 @@ pytest_base_cmd = f'PYTHONPATH=/usr/lib64/az/lib/{python_version}/site-packages python -m pytest -x -v --forked -p no:warnings --log-level=WARN' pytest_parallel_cmd = '{} -n auto'.format(pytest_base_cmd) -serial_test_modules = ['botservice', 'network', 'cloud', 'appservice'] +serial_test_modules = ['botservice', 'network', 'cloud', 'appservice', 'iot', 'resource'] for mod_name in mod_list: cmd = '{} --junit-xml /azure_cli_test_result/{}.xml --pyargs azure.cli.command_modules.{}'.format( @@ -25,5 +25,5 @@ elif exit_code != 0: sys.exit(exit_code) -exit_code = subprocess.call(['{} --junit-xml /azure_cli_test_result/azure-cli-core.xml --pyargs azure.cli.core'.format(pytest_parallel_cmd)], shell=True) +exit_code = subprocess.call(['{} --junit-xml /azure_cli_test_result/azure-cli-core.xml --pyargs azure.cli.core'.format(pytest_base_cmd)], shell=True) sys.exit(exit_code)