Skip to content

Fix current and future streams not terminating after connection dispose #541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2018

Conversation

mostroverkhov
Copy link
Member

Fixes #468 , likely relates to #540

@mostroverkhov mostroverkhov force-pushed the maos/fix/requester-lifecycle branch from f9ba5a1 to f169014 Compare October 28, 2018 11:01

StepVerifier.create(interaction.apply(rSocket))
.expectError(ClosedChannelException.class)
.verify(Duration.ofSeconds(5));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not specific to this PR: Are these tests "wall clock" slow? Should we tag someway to run in CI, but not in normal developer builds?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this will be great improvement for local builds - will do that in follow-up. Also I was thinking about VirtualTimeScheduler, but eventually preferred approach with no magic in It as this way tests look less fragile

Copy link
Member

@yschimke yschimke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this bug explains what I was seeing when testing changes in the rsocket-cli project. The change also seems like a nice cleanup.

@mostroverkhov mostroverkhov self-assigned this Oct 28, 2018
@robertroeser robertroeser merged commit 58a8d8f into 1.0.x Oct 28, 2018
kbahr pushed a commit that referenced this pull request Nov 2, 2018
…nnection dispose (#541)

Signed-off-by: Maksym Ostroverkhov <[email protected]>
Signed-off-by: Kyle Bahr <[email protected]>
@nebhale nebhale deleted the maos/fix/requester-lifecycle branch February 20, 2019 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants