diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-03 18:01:57 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-03 18:01:57 -0300 |
commit | 5d83d111f519d4a0d8f9c0c7928575eae2dfd1ff (patch) | |
tree | 0cb8961ee8e19ac5213ee9baf6179ee1a914bf50 /activejob | |
parent | c2e30f8e4551c1395b4b8e7cb3d12577fc396c5a (diff) | |
download | rails-5d83d111f519d4a0d8f9c0c7928575eae2dfd1ff.tar.gz rails-5d83d111f519d4a0d8f9c0c7928575eae2dfd1ff.tar.bz2 rails-5d83d111f519d4a0d8f9c0c7928575eae2dfd1ff.zip |
Do not use named queues for que adapter
See #19498
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/test/integration/queuing_test.rb | 2 | ||||
-rw-r--r-- | activejob/test/support/integration/adapters/que.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activejob/test/integration/queuing_test.rb b/activejob/test/integration/queuing_test.rb index 09f5c329cc..96794ffef3 100644 --- a/activejob/test/integration/queuing_test.rb +++ b/activejob/test/integration/queuing_test.rb @@ -11,7 +11,7 @@ class QueuingTest < ActiveSupport::TestCase end test 'should not run jobs queued on a non-listening queue' do - skip if adapter_is?(:inline) || adapter_is?(:sucker_punch) + skip if adapter_is?(:inline) || adapter_is?(:sucker_punch) || adapter_is?(:que) old_queue = TestJob.queue_name begin diff --git a/activejob/test/support/integration/adapters/que.rb b/activejob/test/support/integration/adapters/que.rb index ff5235bdc8..0cd8952a28 100644 --- a/activejob/test/support/integration/adapters/que.rb +++ b/activejob/test/support/integration/adapters/que.rb @@ -23,7 +23,7 @@ module QueJobsManager @thread = Thread.new do loop do - Que::Job.work("integration_tests") + Que::Job.work sleep 0.5 end end |