Create test database when processing config template
For an unknown reason, the mxs874_slave_recovery test times out unless the test database is created when the config templates are being processed.
This commit is contained in:
parent
a9a20bf16b
commit
a0d12191da
@ -661,6 +661,10 @@ void TestConnections::process_template(int m, const char* template_name, const c
|
||||
mdn[j]->port[i]);
|
||||
ss << str;
|
||||
}
|
||||
|
||||
mdn[j]->connect();
|
||||
execute_query(mdn[j]->nodes[0], "CREATE DATABASE IF NOT EXISTS test");
|
||||
mdn[j]->close_connections();
|
||||
}
|
||||
|
||||
sprintf(str, " -e \"s/###access_user###/%s/g\" ", maxscales->access_user[m]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user