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

chore: fix gcp_sql_database integration test #604

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

SirGitsalot
Copy link
Collaborator

For MySQL 8.x "utf8" really mean "utf8mb3" and when you request utf8 as the charset, utf8mb3 is what's returned. Thanks to that, instead of being a no-op the "create a database that already exists" test attempts to update the database and fails rather than seeing that the database exists and is in the correct configuration. The fix here is to use a valid character set (utf8mb4 is the recommended encoding).

@SirGitsalot
Copy link
Collaborator Author

With this and #602 the tests are green (phew).

There's a few tests that were disabled due to flakiness, but so far those seems to be API issues rather than problems with the Ansible module. I'm going to try to get those running reliably and update the version(s) of Ansible we're testing against next.

@SirGitsalot SirGitsalot merged commit cd881b4 into master Nov 20, 2023
4 checks passed
@SirGitsalot SirGitsalot deleted the sql-integration-test branch November 20, 2023 18:49
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