You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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)>'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: