-
Notifications
You must be signed in to change notification settings - Fork 70
Add PyTest suite to mariadb-container #311
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
base: master
Are you sure you want to change the base?
Conversation
Migration matrix is: - run_container_creation_tests -> test_container_configuration.py(test_try_image_invalid_combinations, test_container_creation_fails, test_invalid_configuration_tests.py - run_configuration_tests -> test_container_configuration.py(TestMariaDBConfigurationTests and TestsMariaDBConfiguratioTest) TestMariaDB - run_general_tests -> test_container_general.py(test_run and test_datadir) - run_change_password_test -> test_container_password.py - run_change_password_new_user_test -> test_container_password.py - run_replication_test -> test_container_replication.py - run_s2i_test -> test_container_basics.py - run_ssl_test -> test_container_basics.py - run_upgrade_test -> test_container_upgrade.py - run_plugin_test -> test_container_plugin.py Signed-off-by: Petr "Stone" Hracek <[email protected]>
|
[test-pytest] |
Pull Request validationFailed🔴 Review - Missing review from a member (1 required) Success🟢 CI - All checks have passed |
Testing Farm results
|
Lets' connect to proper DB including --disable certificates Let's check if Slave is really runnning before SQL command is called. Signed-off-by: Petr "Stone" Hracek <[email protected]>
|
[test-pytest] |
Call sql commands at once. Change initial names to understandable. Use DatabaseWrapper directly to call sql commands. Check mariadb configuration values together. Do not duplicate code. Signed-off-by: Petr "Stone" Hracek <[email protected]>
|
re-trigger tests after a hude refactoring. [test][test-pytest] |
Signed-off-by: Petr "Stone" Hracek <[email protected]>
6bd423f to
f990c37
Compare
|
re-trigger tests after fixing issue on Fedora [test][test-pytest] |
and parametrized it. It is easier to review code. Signed-off-by: Petr "Stone" Hracek <[email protected]>
|
[test][test-pytest] |
|
@frenzymadness PTAL in case you have free time. |
frenzymadness
left a comment
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.
This PR adds 1355 lines of code so it will take a while to review it. I'm submitting what I have so far so we can ping-pong small portions of it.
is defined in VARS variable directly Signed-off-by: Petr "Stone" Hracek <[email protected]>
Update also description for better reading what each test does in case it is huge Signed-off-by: Petr "Stone" Hracek <[email protected]>
if mariadb contains proper settings Signed-off-by: Petr "Stone" Hracek <[email protected]>
The function is already part of container-ci-suite. Add several documentation part to the tests Signed-off-by: Petr "Stone" Hracek <[email protected]>
d218b68 to
2d65c49
Compare
|
@frenzymadness I have tryied to address all issues. As soon as you will have a spare time. Please look at this. Next time, we can add each test by simple PR for better review. It makes sense for me to PostgreSQL container. |
|
[test-pytest][test] |
Migration matrix is: