Stop timeout before fixing replication
The timeout is hit very often if the cluster fixing takes some time. This causes false positives so the timeout should be stopped before attempting to fix the cluster.
This commit is contained in:
@ -87,6 +87,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
execute_query(test.repl->nodes[0], "DROP TABLE test.t1;RESET MASTER");
|
execute_query(test.repl->nodes[0], "DROP TABLE test.t1;RESET MASTER");
|
||||||
|
test.stop_timeout();
|
||||||
test.repl->fix_replication();
|
test.repl->fix_replication();
|
||||||
|
|
||||||
return test.global_result;
|
return test.global_result;
|
||||||
|
Reference in New Issue
Block a user