Potential fix for CI test failure

pull/4280/head
Rahim Kanji 3 years ago
parent a908f2a17b
commit a2dee41c8d

@ -244,6 +244,8 @@ int test_fast_routing_algorithm(
if (c_err) { return EXIT_FAILURE; }
MYSQL_QUERY_T(admin, "LOAD MYSQL QUERY RULES TO RUNTIME");
usleep(100*1000);
// Seek end of file for error log
errlog.seekg(0, std::ios::end);
// Get current last id from debug db
@ -285,6 +287,8 @@ int test_fast_routing_algorithm(
MYSQL_QUERY_T(admin, ("SET mysql-query_rules_fast_routing_algorithm=" + std::to_string(new_algo)).c_str());
MYSQL_QUERY_T(admin, "LOAD MYSQL VARIABLES TO RUNTIME");
usleep(100*1000);
// Seek end of file for error log
errlog.seekg(0, std::ios::end);
// Get current last id from debug db

Loading…
Cancel
Save