Mike Perham
85a1be3684
Switch all tests to use Minitest::Spec for consistency
2019-02-28 12:43:50 -08:00
Andrew Babichev
ea9b34a953
Add CLI Run Test - Write Pid, System Boot, Print Banner ( #4039 )
...
* Add appraisal
* Test CLI run (write pid, system boot, print banner)
* Cleanup test helper
* Set REDIS_URL to use non-default host in test env
* Move mintiest-focus to test bundle group
2018-12-07 08:59:42 -08:00
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
James McCarthy
635e0628d2
Ensure Sidekiq.enable_delay! does not break Psych.
2017-07-29 08:49:54 +02:00
Mike Perham
cc59d07e48
Disable delay extensions by default, fixes #3174 ( #3299 )
...
* Disable delay extensions by default, fixes #3174
* Size check for YAML payload
* so racy
* Allow larger, explicit size in message
* Polish
2017-01-04 10:30:42 -08:00
Mike Perham
257b96094f
Minimize Ruby warnings in test suite
2016-11-23 14:50:11 -08: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
53e6b9e2df
Test suite overhaul
...
Remove Redis mocking. Minimize Redis flushing where possible.
2015-09-23 10:56:37 -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
Jason Nochlin
8cf0bf447c
Never include modules if .remove_delay
was called
2014-06-28 18:20:42 -04:00
Mike Perham
e63a9d8863
Add tests for new client instances
2013-10-25 21:07:54 -07: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
Mike Perham
afb1d24809
Add delay_until extension method
2012-11-08 09:05:11 -08:00
Samuel Cochran
aa31d616d2
Stringify Extensions::Proxy options
2012-10-18 11:27:54 +08:00
Luismi Cavalle
8657aea37a
Allow delay of any module class method
2012-09-30 17:09:42 +01:00
Mike Perham
b0fa69a915
Remove optionality of Rails hooks, #401
2012-09-20 20:04:25 -07:00
Mike Perham
e55979407a
Add extension to delay any arbitrary class method to Sidekiq.
2012-08-16 16:43:01 -07:00
Mike Perham
2c4be4cada
Scheduled jobs! Bump to 2.0.0.
...
Performs can now be scheduled at arbitrary points in the future.
2012-05-25 20:21:42 -07:00
jc00ke
7ff7f89105
Fix typo
2012-04-28 23:47:27 -07:00
Mike Perham
2ec203365e
Clean up timeout middleware, add client-side option [ #161 ]
2012-04-26 08:40:07 -07:00
Mike Perham
ee42be39e0
API cleanup, remove deprecations
2012-03-28 19:16:54 -07:00
Mike Perham
568462eff7
Clean up rails hook testing
2012-03-26 19:56:48 -07:00
Mike Perham
b782c05e1b
Test cleanup
2012-03-17 21:36:33 -07:00
Mike Perham
2206ce7654
RedisConnection was only ever creating one Redis connection, even when pooled. Oops.
2012-03-13 21:19:46 -07:00
Mike Perham
d2263cbfe1
Add basic web testing, promote 'queues' set to core.
2012-03-10 13:07:19 -08:00
Mike Perham
65bf77217b
Fix require ordering causing extensions to not load properly, GH-77.
2012-03-10 12:30:15 -08:00
Mike Perham
0973245909
Redis connection API change
...
old: Sidekiq.redis = Sidekiq::RedisConnection.create(:namespace => 'foo')
new: Sidekiq.redis = { :namespace => 'foo' }
2012-03-01 13:41:12 -08:00
Mike Perham
8ee8137caa
Refactor options to be globally available for things like
...
connection pool sizing.
2012-02-19 13:05:19 -08:00
Mike Perham
8fbbd02f64
Verify mocks
2012-02-18 21:24:11 -08:00
Mike Perham
0951c9514c
Test for ActiveRecord and ActionMailer extensions
2012-02-18 21:08:53 -08:00