MXS-2458: add template for Clustrix monitor tests
First implementation of Clustrix setup creation TODO: move Clustrix installation to MDBCI
This commit is contained in:
19
maxscale-system-test/clustrix_mon.cpp
Normal file
19
maxscale-system-test/clustrix_mon.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @file clustrix_mon.cpp - simple Clustrix monitor test
|
||||
* Just creates Clustrix cluster and connect Maxscale to it
|
||||
* It can be used as a template for clustrix tests
|
||||
*
|
||||
* See Clustrix_nodes.h for details about configiration
|
||||
*/
|
||||
|
||||
#include "testconnections.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int i;
|
||||
TestConnections* Test = new TestConnections(argc, argv);
|
||||
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
return rval;
|
||||
}
|
||||
Reference in New Issue
Block a user