Speed up avrorouter testing
Cut test time from about 300 seconds to 200 seconds.
This commit is contained in:
@ -10,15 +10,14 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int exit_code;
|
||||
TestConnections::skip_maxscale_start(true);
|
||||
TestConnections::check_nodes(false);
|
||||
TestConnections test(argc, argv);
|
||||
test.set_timeout(600);
|
||||
test.maxscales->ssh_node(0, (char *) "rm -rf /var/lib/maxscale/avro", true);
|
||||
|
||||
/** Start master to binlogrouter replication */
|
||||
if (!test.replicate_from_master(0))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
test.replicate_from_master();
|
||||
|
||||
test.set_timeout(120);
|
||||
test.repl->connect();
|
||||
@ -75,7 +74,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
test.stop_timeout();
|
||||
execute_query(test.repl->nodes[0], "DROP TABLE test.t1;RESET MASTER");
|
||||
test.repl->fix_replication();
|
||||
test.revert_replicate_from_master();
|
||||
|
||||
return test.global_result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user