1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test
Martin Sereinig ede0cdb56b Fixed drain_all for workers with symbolized queue names in tests
The queue-based testing hash (@jobs_by_queue) stores the queue name as a string. Therefore, when a worker is given a symbol as queue name, deleting the job from the @jobs_by_queue silently fails, leaving the job in @jobs_by_queue (even though deleting succeded from the @jobs_by_worker). Sidekiq::Worker.drain_all gets the jobs through @jobs_by_queue, but since the josb are not removed after execution, calling drain_all will result in an endless loop.
2016-01-14 15:25:03 +01:00
..
fixtures Allow dynamic sidekiq-web locale paths, for localized extensions, fixes #1261 2013-10-21 12:07:18 -07:00
config.yml Dont use logger in options parsing, fixes #1335 2013-11-13 21:33:44 -08:00
env_based_config.yml Clean up option processing 2013-01-18 20:57:26 -08:00
fake_env.rb CLI testing. Not great but integration testing is tough. 2012-02-12 19:53:34 -08:00
helper.rb cleanup 2015-10-23 15:04:50 -07:00
test_actors.rb Found and killed the test suite instability. 2015-10-21 09:29:58 -07:00
test_api.rb Display human-friendly class and args for ActionMailer jobs 2015-12-14 23:49:24 +02:00
test_cli.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_client.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_exception_handler.rb allow every test to be run with just ruby test/xxx_test.rb 2014-12-30 12:54:58 -08:00
test_extensions.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_fetch.rb Change old "message" terminology to "job" 2015-10-23 15:05:50 -07:00
test_launcher.rb Move proctitles into CLI, so they can be accessed in startup events 2015-10-12 09:43:51 -07:00
test_logging.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_manager.rb Found and killed the test suite instability. 2015-10-21 09:29:58 -07:00
test_middleware.rb Cleanup, tests passing 2015-10-08 09:37:37 -07:00
test_processor.rb Change old "message" terminology to "job" 2015-10-23 15:05:50 -07:00
test_rails.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_redis_connection.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_retry.rb Make exception available in #sidekiq_retry_in 2015-10-23 11:54:55 -04:00
test_scheduled.rb Improve schedule test speed 2016-01-09 04:27:49 +03:00
test_scheduling.rb fix test break 2015-09-23 16:21:25 -07:00
test_sidekiq.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_testing.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_testing_fake.rb Fixed drain_all for workers with symbolized queue names in tests 2016-01-14 15:25:03 +01:00
test_testing_inline.rb Fix name of test 2015-11-13 16:42:43 -05:00
test_util.rb Test suite overhaul 2015-09-23 10:56:37 -07:00
test_web.rb Clean up global state changes in custom web test, fixes #2752 2016-01-06 10:29:41 -08:00
test_web_helpers.rb Fix Norwegian Bokmål (nb) locale 2015-10-04 20:47:41 +02:00