1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/test
Duncan Grazier 23e3e2bc2b ActionCable should not raise when a connection is already open
ActionCable was throwing a "Existing connection must be closed before
opening" exception which was being picked up as a production issue in
our error monitoring software. Since this happens pretty often on any
device that allows the browser to sleep (mobile) this error was getting
triggered often.

This change removes the exception, but keeps logging the occurrence. We
now return `false` to let the caller now that `open` failed.
2017-01-06 12:49:58 -05:00
..
channel Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
connection Privatize unneededly protected methods in Action Cable tests 2016-12-24 00:15:24 +09:00
javascript ActionCable should not raise when a connection is already open 2017-01-06 12:49:58 -05:00
server Add tests for Server::Base#restart 2016-10-02 09:02:01 -04:00
stubs Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
subscription_adapter Prevent race condition when launching EventMachine reactor 2016-11-30 22:55:04 +10:30
client_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
test_helper.rb Remove Faye mode 2016-10-01 15:35:59 +09:30
worker_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00