Increase timeout on failing websocket test. refs #9427
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 21 Jun 2016 19:57:23 +0000 (15:57 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 21 Jun 2016 19:57:23 +0000 (15:57 -0400)
services/api/test/integration/websocket_test.rb

index 25e7592c39577bdbf64be90a03d286b05f0120e4..98ae103d1a464fbb550ba46f8c3669736eae3981 100644 (file)
@@ -383,7 +383,7 @@ class WebsocketTest < ActionDispatch::IntegrationTest
     ws_helper :admin, false do |ws|
       ws.on :open do |event|
         ws.send ({method: 'subscribe', filters: [['object_uuid', 'is_a', 'arvados#human']]}.to_json)
-        EM::Timer.new 3 do
+        EM::Timer.new 6 do
           # Set a time limit on the test because after unsubscribing the server
           # still has to process the next event (and then hopefully correctly
           # decides not to send it because we unsubscribed.)