Uncrustify maxscale
See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
This commit is contained in:
@ -16,12 +16,12 @@
|
||||
#include "maxadmin_operations.h"
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
TestConnections* Test = new TestConnections(argc, argv);
|
||||
|
||||
Test->set_timeout(60);
|
||||
Test->repl->execute_query_all_nodes((char *) "set global max_connections = 20;");
|
||||
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 20;");
|
||||
Test->create_connections(0, 75, true, true, true, true);
|
||||
|
||||
Test->stop_timeout();
|
||||
@ -31,14 +31,14 @@ int main(int argc, char *argv[])
|
||||
Test->repl->sync_slaves();
|
||||
|
||||
// Increase connection limits and wait a few seconds for the server to catch up
|
||||
Test->repl->execute_query_all_nodes((char *) "set global max_connections = 2000;");
|
||||
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 2000;");
|
||||
sleep(10);
|
||||
|
||||
Test->set_timeout(60);
|
||||
Test->add_result(Test->create_connections(0, 70 , true, true, true, true),
|
||||
Test->add_result(Test->create_connections(0, 70, true, true, true, true),
|
||||
"Connections creation error \n");
|
||||
|
||||
Test->check_log_err(0, (char *) "fatal signal 11", false);
|
||||
Test->check_log_err(0, (char*) "fatal signal 11", false);
|
||||
Test->check_maxscale_alive(0);
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
|
||||
Reference in New Issue
Block a user