Skip to content
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

spec Kontena::Websocket::Client For a local server on a random port that stalls with infinite HTTP headers after accepting the connection raises an open timeout: Errno::EPIPE: Broken pipe #16

Open
SpComb opened this issue Jul 26, 2017 · 0 comments

Comments

@SpComb
Copy link
Contributor

SpComb commented Jul 26, 2017

  1) Kontena::Websocket::Client For a local server on a random port that stalls with infinite HTTP headers after accepting the connection raises an open timeout

     Failure/Error:

       expect{

         subject.connect

       }.to raise_error(Kontena::Websocket::TimeoutError, /read (deadline expired|timeout after 0.\d+s) while waiting 0.5s for open/)

     

       expected Kontena::Websocket::TimeoutError with message matching /read (deadline expired|timeout after 0.\d+s) while waiting 0.5s for open/, got #<Errno::EPIPE: Broken pipe> with backtrace:

         # ./spec/kontena/websocket/test_spec.rb:141:in `write'

         # ./spec/kontena/websocket/test_spec.rb:141:in `block (7 levels) in <top (required)>'

         # ./spec/kontena/websocket/test_spec.rb:140:in `loop'

         # ./spec/kontena/websocket/test_spec.rb:140:in `block (6 levels) in <top (required)>'

         # ./spec/kontena/websocket/test_spec.rb:126:in `loop'

         # ./spec/kontena/websocket/test_spec.rb:126:in `block (5 levels) in <top (required)>'

     # ./spec/kontena/websocket/test_spec.rb:156:in `block (4 levels) in <top (required)>'
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

No branches or pull requests

1 participant