Skip to content

Commit

Permalink
Travis is giving Errno::EADDRNOTAVAIL now
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Nov 3, 2017
1 parent 49e9925 commit 67d9b7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rest-builder
Submodule rest-builder updated 1 files
+1 −1 test/test_event_source.rb
6 changes: 3 additions & 3 deletions test/test_universal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@
RC::Universal.new(:error_callback => errors.method(:<<),
:max_retries => 1, :log_method => false).
get(url, &called.method(:<<)).wait
errors.map(&:class).should.eq [Errno::ECONNREFUSED]*2
called.map(&:class).should.eq [Errno::ECONNREFUSED]
errors.map(&:class).should.eq [SystemCallError]*2
called.map(&:class).should.eq [SystemCallError]
end

would 'not deadlock with ErrorHandler' do
c = RC::Universal.new(:log_method => false).
event_source('http://localhost:1')
c.onerror{ |e| e.should.kind_of?(Errno::ECONNREFUSED) }
c.onerror{ |e| e.should.kind_of?(SystemCallError) }
c.start.wait
end
end

0 comments on commit 67d9b7e

Please sign in to comment.