Skip to content
This repository was archived by the owner on Sep 13, 2018. It is now read-only.

add a test for #165 #169

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add a test for #165 #169

wants to merge 3 commits into from

Conversation

arystan-sw
Copy link
Contributor

@arystan-sw arystan-sw commented Jun 3, 2017

added a test to reproduce #165

client future must resolve when server closes the connection (streaming/pipeline protocol style)

currently, what happens is, the future doesn't resolve to anything and this test fails

client future must resolve when server closes the connection (streaming/pipeline style)
@arystan-sw
Copy link
Contributor Author

arystan-sw commented Jun 3, 2017

Removing self.has_in_flight() from the Pipeline::is_done()'s condition seems to solve the problem. But I don't know if this is a correct fix.

cc @carllerche

@arystan-sw
Copy link
Contributor Author

Added a timeout to fail the test faster. Sorry for messing up. I'm new to Rust.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants