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:
@ -661,6 +661,10 @@ void TestConnections::process_template(int m, const char* template_name, const c
|
|||||||
mdn[j]->port[i]);
|
mdn[j]->port[i]);
|
||||||
ss << str;
|
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]);
|
sprintf(str, " -e \"s/###access_user###/%s/g\" ", maxscales->access_user[m]);
|
||||||
|
|||||||
Reference in New Issue
Block a user