Azure / Azure/azure-cli

Improve test DEB/RPM package speed

Open
#30,923 2 comments 0 reactions 1 assignee Claimed by @bebound View on GitHub
Azure CLI Team feature-request Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Test RPM/DEB package task is slow in batch CI, delaying our release process. We've used an 8-core agent, but the task still takes over an hour.

Using more cores won't significantly improve performance. Instead, we should focus on enhancing the test module.

- Some modules are run in serial, such as network.
- Some tests run much slower than others, slowing down the entire testing process. For example: `tests/latest/test_keyvault_commands.py::KeyVaultMgmtScenarioTest::test_keyvault_list_deleted` takes 6 min.

Related PR:
- https://github.com/Azure/azure-cli/pull/30238
- https://github.com/Azure/azure-cli/pull/30922

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.