-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Not using hardcoded test function names in the test groups #2010
Comments
It is a way to distribute the tests. We want to make N groups that last less than 1h, so we can start N VMs and execute the tests in parallel. |
@miguelgfierro how much it will be different if we "round-robin" split tests into N, assuming the tests are already grouped into folders by heavy-vs-light workloads, If round-robin load balancing is not very different from manual-grouping,
if we literally spin up N VMs, not AzureML run execution, there's a package called |
pfff I tried pytest-sdist and it didn't work very well. What you are proposing seems ok, but it is a huge amount of work that will only changing a manual list to a programmatic solution. In addition, we recently discovered a way to get very cheap AzureML VMs #1996 Up to you man if you want to try this and compare with the current solution. However, there are several things that are not working in the repo that might be a better use of your effort: #2011 |
Agree that we want to prioritize stuffs, and I'm okay w/ deferring this work until we find something easier alternatives. |
Yes, just add them to one of the more empty lists |
Description
tests/ci/azureml_tests/test_groups.py
uses hardcoded test function names which is not scalable, introducing multiple points to maintain when the tests are added or changed.Can someone help me understand what's the purpose of the test groups and reason for hardcoding the function names
instead of using a custom marker or sub-directories for the grouping?
Expected behavior with the suggested feature
Avoid hard-coded test function names in the codes.
The text was updated successfully, but these errors were encountered: