-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Only delay uploads when actively running (#1009)
* β Fix client test helper spy strategy retention When mocking requests, withArgs will return any existing spy strategy before creating a new one. However it seems for arguments based on asymmetricMatch, the existing spy strategy never matches itself. This makes it impossible to provide alternative mock options after already mocking a request. While this is potentially due to our asymmetricMatch not being class-based, we can work around it by keeping a reference to existing strategies based on the provided mock URL. When new spies are created, old strategies are discarded to also create new ones. * π Only delay uploads when actively running When stopping, uploads should not pause the queue and should be processed normally as dictated by the queue's concurrency. * π Do not process delayed uploads before build creation
- Loading branch information
Showing
3 changed files
with
58 additions
and
15 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