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:
Timofey Turenko
2019-05-07 17:17:57 +03:00
parent 4e6ffc0381
commit 56c27afd0a
12 changed files with 656 additions and 8 deletions

View 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;
}