Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sidekiq::Worker.clear_all override not being applied #714

Conversation

dsander
Copy link
Contributor

@dsander dsander commented Jun 2, 2022

Since the method is defined as a singleton the testing override needs to
be prepended to the singleton class.

@dsander
Copy link
Contributor Author

dsander commented Jun 2, 2022

This in build on top of #713 because I didn't want to deal with merge conflicts 😄 I'll rebase this branch if you accept the first PR.

@dsander dsander force-pushed the fixing-reschedule-and-testing-clear-all branch from 336e5a2 to b6bd1df Compare June 2, 2022 09:22
@mhenrixon
Copy link
Owner

Could you try and fix the broken tests and such so that we can get this merged @dsander?

@mhenrixon mhenrixon enabled auto-merge (squash) July 1, 2022 07:54
Since the method is defined as a singleton the testing override needs to
be prepended to the singleton class.
@dsander dsander force-pushed the fixing-reschedule-and-testing-clear-all branch from a10299e to 819a869 Compare July 1, 2022 08:16
@mhenrixon mhenrixon merged commit 10d08bd into mhenrixon:main Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants