Skip to content

An explicit test of correct and incorrect grant addition#217

Closed
maximmasiutin wants to merge 1 commit intopetoju:masterfrom
maximmasiutin:feature/different-privileges-test
Closed

An explicit test of correct and incorrect grant addition#217
maximmasiutin wants to merge 1 commit intopetoju:masterfrom
maximmasiutin:feature/different-privileges-test

Conversation

@maximmasiutin
Copy link
Contributor

No description provided.

@maximmasiutin maximmasiutin force-pushed the feature/different-privileges-test branch 11 times, most recently from 921b439 to 3cb5ce0 Compare April 20, 2025 17:41
@maximmasiutin maximmasiutin force-pushed the feature/different-privileges-test branch from c2f7350 to 8fac9eb Compare April 21, 2025 18:31
… privilege on `*` to coexist with database-specific grants; added MySQL 8.4.5 in the test cases, and changed Terraform version to 1.11.3; also added a manual test for multiple providers in different database instances (to ensure that the objects in different providers do not conflict)
@maximmasiutin maximmasiutin force-pushed the feature/different-privileges-test branch from 515e6c6 to d98b3a0 Compare April 22, 2025 11:30
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

cd test1 || exit 1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For other changes, I understand them - but how would these scripts and directory test help?

Generally, tests inside *_test.go are much better idea - terraform testing harness catches more issues than executing something manually.

@maximmasiutin
Copy link
Contributor Author

The changes in "test" are actually not needed - they were to demonstrate working with two providers (two instances). I didn't know how to make that with the GNU makefile. Let me create another pull request without these files.

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