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:
@ -1,5 +1,7 @@
|
||||
/**
|
||||
* @file bug662.cpp regression case for bug 662 ("MaxScale hangs in startup if backend server is not responsive"), covers also bug680 ("RWSplit can't load DB user if backend is not available at MaxScale start")
|
||||
* @file bug662.cpp regression case for bug 662 ("MaxScale hangs in startup if backend server is not
|
||||
*responsive"), covers also bug680 ("RWSplit can't load DB user if backend is not available at MaxScale
|
||||
*start")
|
||||
*
|
||||
* - Block all Mariadb servers
|
||||
* - Restart MaxScale
|
||||
@ -10,9 +12,9 @@
|
||||
#include "testconnections.h"
|
||||
#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->maxscales->connect_maxscale(0);
|
||||
|
||||
for (int i = 0; i < Test->repl->N; i++)
|
||||
@ -27,7 +29,8 @@ int main(int argc, char *argv[])
|
||||
Test->maxscales->restart_maxscale(0);
|
||||
|
||||
Test->tprintf("Checking if MaxScale is alive by connecting to MaxAdmin\n");
|
||||
Test->add_result(Test->maxscales->execute_maxadmin_command(0, (char* ) "show servers"), "Maxadmin execution failed.\n");
|
||||
Test->add_result(Test->maxscales->execute_maxadmin_command(0, (char*) "show servers"),
|
||||
"Maxadmin execution failed.\n");
|
||||
|
||||
for (int i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user