mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #23370 from maclover7/actioncable-main-travis-build
Move Action Cable back to the main build
This commit is contained in:
commit
d6e0eeb1c6
2 changed files with 0 additions and 10 deletions
|
@ -30,7 +30,6 @@ rvm:
|
|||
matrix:
|
||||
allow_failures:
|
||||
- rvm: ruby-head
|
||||
- env: "GEM=ac"
|
||||
fast_finish: true
|
||||
notifications:
|
||||
email: false
|
||||
|
|
|
@ -146,15 +146,6 @@ class ClientTest < ActionCable::TestCase
|
|||
@ws.close
|
||||
@closed.wait(WAIT_WHEN_EXPECTING_EVENT)
|
||||
end
|
||||
|
||||
def close!
|
||||
sock = BasicSocket.for_fd(@ws.instance_variable_get(:@stream).detach)
|
||||
|
||||
# Force a TCP reset
|
||||
sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [1, 0].pack('ii'))
|
||||
|
||||
sock.close
|
||||
end
|
||||
end
|
||||
|
||||
def faye_client(port)
|
||||
|
|
Loading…
Reference in a new issue