-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: do not wait afterRestartDelay in TestCleanup (#5446)
delay after agent restart is performed to allow agent to tear down all the processes important mainly for windows, as it prevents removing files which are in use. In TestCleanup there are no processes and we don't need to wait. Update Cleanup method to accept delay as an arg and defaulting to afterRestartDelay in prod TestCleanup speed improves depending on the os: linux: 8s -> 0.2s darwin 8s -> 0.2s windows: 60s -> 0.2s
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 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
542db76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for reference: windows is actually 80s -> 0.2s