Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port #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. This is a backport of #1104 (commit 1bd4968), as tracked in #1111
- Loading branch information
1 parent
e8f7867
commit 65e7d62
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