-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update some more tests relying on timeouts (#341)
* Remove unnecessary timeout check in httpClient delay In addition it's probably better to use a t.setTimeout(..) than assertion for a timeout because it will come with a clear and informative error message. * Update a couple of tests that don't do well in low CPU env. Avoid relying on node being able to execute its setTimeouts within a reasonable time to account for the low performance VMs of the tests environments. * add empty line for readability in a test * Allow sync call of httpClient.destroy() in a timeout event
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 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
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