Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #648 Make StepVerifier.withVirtualTime mutually exclusive
This commit adds a lock to the StepVerifier that is only used when virtual time is activated, resulting in the VirtualTimeScheduler activation, publisher verification and VTS reset to be mutually exclusive with other StepVerifier.withVirtualTime verify() invocations. This prevent different StepVerifier from side-effecting each other, as the StepVerifier is installed using a global hook.
- Loading branch information
1 parent
a0b752a
commit 1bd4968
Showing
2 changed files
with
44 additions
and
0 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