-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PXC-3546: [MTR] Fix failing keyring_vault sute tests
https://jira.percona.com/browse/PXC-3546 All tests had the same cause of failure: keyring_vault plugin installation requires keyring_vault_config variable with valid data in the file. Setting this variable at the time of the test run is not possible as the file is generated within the test itself. Restarting the server solved the problem. This breaking change has been made intentionally in PXC-2135 (commit b58c1d1). Before the change plugin was loaded without valid or any keyring_vault_config file, so we could SET that plugin variable. Reasons for deletion: - keyring_vault_timeout: relies on keyring_vault_config with invalid data, which is now impossible.
- Loading branch information
Showing
31 changed files
with
79 additions
and
340 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
plugin/keyring_vault/tests/mtr/innodb_online_alter_encryption-master.opt
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
plugin/keyring_vault/tests/mtr/innodb_online_alter_encryption.result
This file contains 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
This file contains 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
4 changes: 0 additions & 4 deletions
4
plugin/keyring_vault/tests/mtr/innodb_row_log_encryption-master.opt
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
plugin/keyring_vault/tests/mtr/innodb_row_log_encryption.result
This file contains 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
This file contains 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
1 change: 0 additions & 1 deletion
1
plugin/keyring_vault/tests/mtr/install_keyring_vault-master.opt
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
SET @@global.keyring_vault_config='MYSQLTEST_VARDIR/keyring_vault1.conf'; | ||
ERROR HY000: Unknown system variable 'keyring_vault_config' | ||
INSTALL PLUGIN keyring_vault SONAME 'keyring_vault.so'; | ||
Warnings: | ||
Warning 42000 keyring_vault initialization failure. Please check the server log. | ||
# restart:<hidden args> | ||
SET @@global.keyring_vault_config='MYSQLTEST_VARDIR/keyring_vault2.conf'; | ||
SET @@global.keyring_vault_config='MYSQLTEST_VARDIR/keyring_vault1.conf'; | ||
UNINSTALL PLUGIN keyring_vault; |
This file contains 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
1 change: 0 additions & 1 deletion
1
plugin/keyring_vault/tests/mtr/keyring_vault_config_qa-master.opt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
1 change: 0 additions & 1 deletion
1
plugin/keyring_vault/tests/mtr/keyring_vault_timeout-master.opt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
plugin/keyring_vault/tests/mtr/keyring_vault_timeout.result
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.