test: Clean up MySQL tests#13565
Merged
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom Sep 1, 2023
Merged
Conversation
candiduslynx
reviewed
Sep 1, 2023
Comment on lines
+37
to
+41
| AddColumn: true, | ||
| AddColumnNotNull: false, | ||
| RemoveColumn: true, | ||
| RemoveColumnNotNull: false, | ||
| ChangeColumn: false, |
Contributor
There was a problem hiding this comment.
Suggested change
| AddColumn: true, | |
| AddColumnNotNull: false, | |
| RemoveColumn: true, | |
| RemoveColumnNotNull: false, | |
| ChangeColumn: false, | |
| AddColumn: true, | |
| RemoveColumn: true, |
kodiakhq bot
pushed a commit
that referenced
this pull request
Sep 1, 2023
#### Summary Saw this while working on #13486. If you run migration twice on the same spec it fails. The reason is that MySQL Implicitly sets PKs to non null in the DB, so we have to account for that. We had this in the code and it seems it got lost in the migration to v3 or v4. ~~I also cleaned up the tests as those are passing without that loop on test options.~~ Tests cleanup moved to #13565 Not sure why the double migration tests didn't catch this <!--
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
No need for the loop in the tests or the the
sleep. Also we can support lists and maps if we increaseinnodb_log_file_size.