-
Notifications
You must be signed in to change notification settings - Fork 142
Make unit tests faster #516
Comments
Note that 11 fail locally which pass in our Azure build pipeline: FAILED Tests/AfterTraining/test_after_training.py::test_submit_for_inference[False] - azureml.exceptions._azureml_exc... |
At present running all the unit tests in WSL on my laptop takes 42 minutes. That is too long for me to run all the tests locally before pushing any changes I have made. The unit tests would be more useful if they ran so fast that I would routinely run them all locally while I work on a PR.
The tests that run for more than a minute (in WSL on my XPS15) are:
394.35s call Tests/AfterTraining/test_after_training.py::test_submit_for_inference[True]
207.80s call Tests/SSL/test_ssl_containers.py::test_innereye_ssl_container_cifar10_resnet_simclr
127.20s call Tests/SSL/test_data_modules.py::test_innereye_vision_module
123.78s call Tests/ML/utils/test_checkpoint_handling.py::test_get_best_checkpoint_single_run
62.47s call Tests/ML/utils/test_checkpoint_handling.py::test_get_recovery_path_train_single_run
62.26s call Tests/ML/utils/test_checkpoint_handling.py::test_download_checkpoints_from_single_run
62.14s call Tests/ML/utils/test_checkpoint_handling.py::test_get_checkpoints_to_test_single_run
61.99s call Tests/ML/test_download_upload.py::test_download_recovery_single_run
AB#4166
The text was updated successfully, but these errors were encountered: