StepVerifier fix For Fusion and request after onNext#1982
Merged
Conversation
c100331 to
277afd3
Compare
Contributor
|
@OlegDokuka could you try to target |
Contributor
|
@OlegDokuka you'll probably need to either |
Bug explanation: if we have ASYNC fusion and onNext(null) appears when there is nothing yet requested (for instance, StepVerifier.create(flux, 0)) then when request appears over `thenRequest(n)` then the drain loop will NOT be invoked so the actual enqueued element will not be delivered and we will get a hanged test suit Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
277afd3 to
90af031
Compare
Contributor
Author
|
@simonbasle fixed |
|
@simonbasle this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to |
simonbasle
added a commit
that referenced
this pull request
Dec 5, 2019
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expected
When
StepVerifieris used for verification ofPublisherbehavior in fusion mode as a User, I want to have it act identically to other operators in fusion mode with upstream. For example, let's consider the behavior ofFluxPublishOnin ASYNC fusion withUnicastProcessoras the UpstreamActual
In case of such events' order
StepVerifierwill hang until its timeout.Signed-off-by: Oleh Dokuka shadowgun@i.ua