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 QuartzJobsDeleteCommandTest to pass on Mysql #967

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Conversation

aurambaj
Copy link
Collaborator

Before it failed because the job name in Quartz was too long. This is a simple fix that rename the class in order to make name shorter and fit within the Mysql constraint.

An alertnative fix is to shorten the name, and there is some code to do that at QuartzPollableTaskScheduler#getShortClassName(). It is not currently used, not sure if it was unfinished development or if it has some issue. Anyway put a note here, but going with the quick fix since it is good enough for the current need

Before it failed because the job name in Quartz was too long. This is a simple fix that rename the class in order to make name shorter and fit within the Mysql constraint.

An alertnative fix is to shorten the name, and there is some code to do that at QuartzPollableTaskScheduler#getShortClassName(). It is not currently used, not sure if it was unfinished development or if it has some issue. Anyway put a note here, but going with the quick fix since it is good enough for the current need
@aurambaj aurambaj merged commit 396e549 into master Jul 27, 2023
2 checks passed
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.

2 participants