-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mocha runner: better logs around test cleanup (#4993)
### Intent When running a large number of tests in parallel, the script cleans up the test data generated during the run, which can sometimes take a while. To save time, there’s an option to skip this step, commonly used in CICD pipelines. This option was already available, but the recent update improves its visibility to make it clearer to the person running the tests. Note: This does not delete traces, but rather temporary files created by the runner. ### Approach Enhanced the logging to provide better visibility, highlighting when the cleanup is being skipped to reduce confusion and improve monitoring. #### Without skipping clean up <img width="583" alt="Screenshot 2024-10-10 at 2 20 32 PM" src="https://github.com/user-attachments/assets/5522e993-1f6d-4e16-8ec1-0d18ad654e76"> #### With skipping clean up (`--skip-cleanup`) <img width="220" alt="Screenshot 2024-10-10 at 2 20 02 PM" src="https://github.com/user-attachments/assets/5b909df4-535f-433b-9c3a-390953fe7a59">
- Loading branch information
Showing
2 changed files
with
28 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters