mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Wait for EventMachine to finish starting
This commit is contained in:
parent
8dfb876048
commit
4c38319cc2
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class ClientTest < ActionCable::TestCase
|
|||
server.config.channel_load_paths = [File.expand_path('client', __dir__)]
|
||||
|
||||
Thread.new { EventMachine.run } unless EventMachine.reactor_running?
|
||||
Thread.pass until EventMachine.reactor_running?
|
||||
|
||||
# faye-websocket is warning-rich
|
||||
@previous_verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
|
Loading…
Reference in a new issue