-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Improved message when precondition onFail : MARK_RAN is set #2238
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review and test results:
Things to be aware of:
- Just updates the log message
Things to worry about:
- Nothing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix tweaks the message output by a MARK_RAN precondition to make it easier to understand that the change was only marked as run, and not actually run.
APPROVED
Thanks for your PR submission! We just finished reviewing and merging it into the 4.17.0 release on October 10, 2022. When you get a chance, could you please Star the Liquibase project? The star button is in the upper right corner of the screen. |
Pull Request Type
Description
Changing the code :
log.info("Marking ChangeSet: " + toString() + " ran despite precondition failure due to onFail='MARK_RAN': " + message);
to
log.info("Marking ChangeSet \"" + toString() + "\" as ran despite precondition failure due to onFail='MARK_RAN': " + message);
Steps To Reproduce
Use this fragment:
Actual Behavior
Log message reads like change set was executed ("ran") instead of just marked as "ran" on failure of precondition with on-failure setting
MARK_RAN
Expected/Desired Behavior
Log message makes clear that change set was only marked as "ran" but not executed on failure of precondition because of on-failure setting
MARK_RAN
.Fast Track PR Acceptance Checklist:
Need Help?
Come chat with us on our discord channel