Skip to content

Commit

Permalink
Deprecate admin-hash_passwords in TAP tests #4218
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed May 14, 2023
1 parent 1799f7a commit 7690798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/tap/tests/set_testing-240-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,12 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "File %s, line %d, Error: %s\n", __FILE__, __LINE__, mysql_error(proxysql_admin));
return EXIT_FAILURE;
}
/* admin-hash_passwords has been deprecated
diag("Disabling admin-hash_passwords to be able to run test on MySQL 8");
MYSQL_QUERY(proxysql_admin, "SET admin-hash_passwords='false'");
MYSQL_QUERY(proxysql_admin, "LOAD ADMIN VARIABLES TO RUNTIME");
MYSQL_QUERY(proxysql_admin, "LOAD MYSQL USERS TO RUNTIME");
*/

diag("Creating new hostgroup 101: DELETE FROM mysql_servers WHERE hostgroup_id = 101");
MYSQL_QUERY(proxysql_admin, "DELETE FROM mysql_servers WHERE hostgroup_id = 101");
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/test_cluster_sync-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ int main(int, char**) {
// std::make_tuple("admin-cluster_username" , "" ), Known issue, can't clear
// std::make_tuple("admin-cluster_password" , "" ), Known issue, can't clear
// std::make_tuple("admin-debug" , "false" ), Should not be synced
std::make_tuple("admin-hash_passwords" , "true" ),
// std::make_tuple("admin-hash_passwords" , "true" ), // deprecated variable
// std::make_tuple("admin-mysql_ifaces" , "0.0.0.0:6032" ), // disabled because of cluster_sync_interfaces=false
std::make_tuple("admin-prometheus_memory_metrics_interval" , "61" ),
std::make_tuple("admin-read_only" , "false" ),
Expand Down

0 comments on commit 7690798

Please sign in to comment.