1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test
Andrew Babichev 3845832c20 JSON Logger Formatter (#4050)
* Check Config File Existence (#4054)

* Check config file existence

* Eager config file check

* Parse expanded path to default sidekiq.yml config file in Rails app

* Cleanup

* Add minitest-around

* Extract context from formatter

* Add JSON logger formatter

* Adjust job logger to handle elapsed time within context

* Add tid test

* Rename processor logger

* Enforce global state reset in logging tests

* Add warning about upcoming refactoring to Sidekiq::Logging

* Replace around hook with explicit stub inside test

It's implemented with fibers, which means Thread.current returns different values in JRuby.

* Fix typo

* Concise JSON formatter keys

* Add logger_formatter option

* Shift context from array of strings to hash

Allows more flexibly format context in the different formatters.

* Adjust warning message regarding context type change

* Add "Formatter" suffix to classes

* Fix CLI specs

* Replace Sidekiq::Logging with Sidekiq::Logger

* Namespace logger formatters

* Remove rails 4 appraisal
2018-12-28 15:05:51 -08:00
..
dummy/config Check Config File Existence (#4054) 2018-12-13 08:30:29 -08:00
fixtures Allow dynamic sidekiq-web locale paths, for localized extensions, fixes #1261 2013-10-21 12:07:18 -07:00
config.yml Remove daemonization, pidfile and logfile options, #4045 2018-12-07 13:41:26 -08:00
config_empty.yml Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
config_environment.yml Remove daemonization, pidfile and logfile options, #4045 2018-12-07 13:41:26 -08:00
config_string.yml Remove daemonization, pidfile and logfile options, #4045 2018-12-07 13:41:26 -08:00
fake_env.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
helper.rb Add CLI Run Test - Write Pid, System Boot, Print Banner (#4039) 2018-12-07 08:59:42 -08:00
test_actors.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_api.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_cli.rb JSON Logger Formatter (#4050) 2018-12-28 15:05:51 -08:00
test_client.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_dead_set.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_exception_handler.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_extensions.rb Add CLI Run Test - Write Pid, System Boot, Print Banner (#4039) 2018-12-07 08:59:42 -08:00
test_fetch.rb Add CLI Run Test - Write Pid, System Boot, Print Banner (#4039) 2018-12-07 08:59:42 -08:00
test_job_logger.rb JSON Logger Formatter (#4050) 2018-12-28 15:05:51 -08:00
test_launcher.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_logger.rb JSON Logger Formatter (#4050) 2018-12-28 15:05:51 -08:00
test_manager.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_middleware.rb Add CLI Run Test - Write Pid, System Boot, Print Banner (#4039) 2018-12-07 08:59:42 -08:00
test_processor.rb JSON Logger Formatter (#4050) 2018-12-28 15:05:51 -08:00
test_rails.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_redis_connection.rb whoops! 2018-12-07 12:42:01 -08:00
test_retry.rb Remove daemonization, pidfile and logfile options, #4045 2018-12-07 13:41:26 -08:00
test_retry_exhausted.rb fix test 2018-12-28 10:08:24 -08:00
test_scheduled.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_scheduling.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_sidekiq.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_sidekiqctl.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_testing.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_testing_fake.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_testing_inline.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00
test_util.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_web.rb Update tests so they all run standalone successfully, like so: 2018-12-03 14:09:26 -08:00
test_web_helpers.rb Cleanup CLI (#4026) 2018-12-03 13:24:37 -08:00