From 5114069018ea76116dfb8e9523e46660e2f6547e Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Thu, 20 Apr 2023 11:27:30 +0500 Subject: [PATCH] * Fixed test case --- test/tap/tests/test_cluster_sync_mysql_servers-t.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/tap/tests/test_cluster_sync_mysql_servers-t.cpp b/test/tap/tests/test_cluster_sync_mysql_servers-t.cpp index e442c992f..f7e5616fd 100644 --- a/test/tap/tests/test_cluster_sync_mysql_servers-t.cpp +++ b/test/tap/tests/test_cluster_sync_mysql_servers-t.cpp @@ -780,11 +780,9 @@ std::vector> queries = { { "SET mysql-monitor_enabled='false'", "LOAD MYSQL VARIABLES TO RUNTIME", - "LOAD MYSQL SERVERS TO RUNTIME" - }, - { "UPDATE global_variables SET variable_value='1' WHERE variable_name='admin-cluster_mysql_servers_sync_algorithm'", "LOAD ADMIN VARIABLES TO RUNTIME" + "LOAD MYSQL SERVERS TO RUNTIME" }, { "UPDATE global_variables SET variable_value='2' WHERE variable_name='admin-cluster_mysql_servers_sync_algorithm'", @@ -834,7 +832,7 @@ int main(int, char**) { plan( 1 + 1 // replica instances + 1 // confirming mysql server 127.0.0.1:13306 is a writer - + (7 * 5) // calling check_mysql_servers_sync 7 times, 5 differnt checks in each call + + (6 * 5) // calling check_mysql_servers_sync 7 times, 5 differnt checks in each call + (3 * 3) + 1 + 1 // shutting down replica instances );