-
|
I have inlined sidekiq in some rspec feature tests. We have some jobs configured with the enterprise uniqueness feature but i've noticed that this isnt actually applying for our tests. Imagine we have rspec config like: I'm seeing duplicate jobs run in our test suite that wouldn't run on our production environments. I'm wondering if there is a way to provide this uniqueness capability within the test suite to help ensure they behave the same way. Thanks for any advice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Do you see why it doesn’t run in testing? Look at the line of code here: https://github.com/sidekiq/sidekiq/wiki/Ent-Unique-Jobs#enable |
Beta Was this translation helpful? Give feedback.
Do you see why it doesn’t run in testing? Look at the line of code here:
https://github.com/sidekiq/sidekiq/wiki/Ent-Unique-Jobs#enable