Andrew Babichev
ddb0c8b3a8
Cleanup CLI ( #4026 )
...
* Refactor CLI test
Extracted 3 main parts:
- parse
- run
- signal handling
* Move demonization and pid write from parse to run phase
* Move queues default from validate to setup options phase
* Add pry-byebug gem
* Drop Sidekiq::Test
* Require launcher in CLI
* Remove TODOs
2018-12-03 13:24:37 -08:00
Mike Perham
91ab536ac3
Remove namespace usage within test suite
2017-03-24 11:01:45 -07:00
Mike Perham
2c9f7662fc
Freeze all string literals in source, fixes #2741
...
Tests pass and smoke test works perfectly.
2015-12-31 15:33:35 -08:00
Mike Perham
93dddd7bd9
Change old "message" terminology to "job"
2015-10-23 15:05:50 -07:00
Mike Perham
da02fcb6a7
Cleanup, tests passing
2015-10-08 09:37:37 -07:00
Mike Perham
da563e73b1
Refactor Fetcher to use bare threads
2015-10-02 15:44:29 -07:00
grosser
57a06d00d6
allow every test to be run with just ruby test/xxx_test.rb
2014-12-30 12:54:58 -08:00
Charlie Somerville
0fa82c28fc
use the right redis url when reconnecting in TestFetcher
2014-06-08 13:45:20 +10:00
Mike Perham
c49e1f9ab7
Fix issues with non-deterministic global test state
2014-05-17 15:55:21 -07:00
Mike Perham
9867b728c4
Concerted effort to increase test coverage: 86 -> 88%
2014-02-01 15:04:20 -08:00
Jonathan Hyman
78c694be89
Move bulk_requeue back to class method.
2013-11-23 12:53:39 -05:00
Jonathan Hyman
381cca1df8
Use bulk_requeue instead of terminate.
2013-11-22 15:45:30 -05:00
Mike Perham
babfdc96c5
Backport test suite to Minitest 4 so we can test against Rails 4.
2013-09-22 14:38:33 -07:00
Mike Perham
4679c95f49
Upgrade to Minitest 5
2013-05-12 14:25:30 -07:00
Jonathan Roes
03d47b3f5c
use behavior syntax consistent with rest of test suite
2013-04-17 10:51:23 -04:00
Mike Perham
b9ae174755
Properly handle namespaced queue names in Fetcher's UnitOfWork, fixes #744
2013-03-02 15:59:01 -08:00
Mike Perham
0e19aee7bf
I'm a TDD master.
2013-01-16 21:53:48 -08:00
Mike Perham
7408387ee0
Refactor fetch strategy, fix queueing to lpush and rpop.
2013-01-05 21:17:08 -08:00
Jake Mack
e6c306de15
Removed -s flag, simplified queue logic
2012-07-31 13:58:50 -07:00
Jake Mack
c779018af8
Implemented a strictly ordered queue switch
2012-07-27 15:18:11 -07:00