Closed stevenheidel closed 8 years ago
@stevenheidel Pull requests are welcome :)
Might be not raise exception in case env is test on line https://github.com/cryo28/sidekiq_status/blob/6d4f973a7ea4bd936fdb9c5663f80d65ce56f697/lib/sidekiq_status/container.rb#L149?
@stevenheidel Could you please try cryo28/sidekiq_status#3. This pull request should make SidekiqStatus less intrusive to Sidekiq's internal data structures and make sure it works well with Sidekiq::Testing.
Included in release 1.1
I would assume from the last two comments that this issue was fixed, but I am experiencing this problem with v1.2.0. Is there a way to make this gem work with the following?
require 'sidekiq/testing'
Sidekiq::Testing.inline!
I'm having this same issue on 1.2.0. Instead of Sidekiq::Testing.inline!
i'm using .drain
to manually execute Sidekiq jobs on the worker queue.
So, I tried both .drain
and Sidekiq::Testing.inline!
and I still get the SidekiqStatus::Container::StatusNotFound
exception.
When running with Sidekiq/testing always gives this error:
With no backtrace.