Add more output to mxs1743_rconn_bitmask
The test times out but it doesn't tell where it times out.
This commit is contained in:
parent
62ce6c15dc
commit
afd3eae65b
@ -44,8 +44,13 @@ int main(int argc, char** argv)
|
||||
execute_query_silent(test.repl->nodes[0], "DROP USER IF EXISTS 'mxs1743'@'%'");
|
||||
test.try_query(test.repl->nodes[0], "%s", "CREATE USER 'mxs1743'@'%' IDENTIFIED BY 'mxs1743'");
|
||||
test.try_query(test.repl->nodes[0], "%s", "GRANT ALL ON *.* TO 'mxs1743'@'%'");
|
||||
|
||||
test.tprintf("Syncing slaves");
|
||||
test.set_timeout(60);
|
||||
test.repl->sync_slaves();
|
||||
|
||||
test.tprintf("Opening new connections to verify readconnroute works");
|
||||
|
||||
for (int i = 0; i < 20; i++)
|
||||
{
|
||||
// Open a connection and make sure it works
|
||||
@ -60,6 +65,7 @@ int main(int argc, char** argv)
|
||||
// Give the connections a few seconds to establish
|
||||
sleep(5);
|
||||
|
||||
test.tprintf("Checking the number of connections");
|
||||
std::string query = "SELECT COUNT(*) AS connections FROM information_schema.processlist WHERE user = 'mxs1743'";
|
||||
char master_connections[1024];
|
||||
char slave_connections[1024];
|
||||
|
Loading…
x
Reference in New Issue
Block a user