MXS-3259: Increase connection limits

Lowering max_connections to 10 prevented the test system itself from
connecting to it. The replication slaves count towards max_connections and
with up to 15 connections in the test, the limit should be higher.
This commit is contained in:
Markus Mäkelä 2020-10-26 20:56:05 +02:00
parent d45eb051bf
commit ca1db89994
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -11,7 +11,7 @@ int main(int argc, char** argv)
MYSQL* mysql[1000];
TestConnections* Test = new TestConnections(argc, argv);
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 10;");
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 30;");
for (int x = 0; x < 3; x++)
{
@ -31,10 +31,6 @@ int main(int argc, char** argv)
}
}
// Wait for the connections to clean up
Test->stop_timeout();
sleep(2 * Test->repl->N);
Test->check_maxscale_alive(0);
int rval = Test->global_result;
delete Test;