You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't explain this at all, but tagging my test with sidekiq: :inline, using this spec_helper:
config.before(:each, sidekiq: :inline) do
Sidekiq::Testing.inline!
end
# Ensure we are not invoking sidekiq after setting it to inline above.
config.after(:each, sidekiq: :inline) do
Sidekiq::Testing.fake!
end
The test starts behaving strangely. Specifically, my after_commit hooks stop firing. I can still see COMMIT in the db log, but somehow just adding sidekiq has caused this issue. I have verified that adding any other tag like foo: bar to the spec will not affect the behavior, but adding sidekiq inline does.
I read through the code and don't see any interaction with transactions. Has anyone come across this at all?
The text was updated successfully, but these errors were encountered:
I can't explain this at all, but tagging my test with
sidekiq: :inline
, using this spec_helper:The test starts behaving strangely. Specifically, my after_commit hooks stop firing. I can still see COMMIT in the db log, but somehow just adding sidekiq has caused this issue. I have verified that adding any other tag like
foo: bar
to the spec will not affect the behavior, but adding sidekiq inline does.I read through the code and don't see any interaction with transactions. Has anyone come across this at all?
The text was updated successfully, but these errors were encountered: