Add tests from develop

Added tests from develop. The test results need to be modified for 2.0.
This commit is contained in:
Markus Mäkelä
2017-05-26 15:40:40 +03:00
parent ad109408b5
commit d7d4ec29bb
596 changed files with 48543 additions and 0 deletions

View File

@ -0,0 +1,27 @@
/**
* @file mxs118.cpp bug mxs118 regression case ("Two monitors loaded at the same time result into not working installation")
*
* - Configure two monitors using same backend serves
* - try to connect to maxscale
* - check logs for warning
*/
#include <iostream>
#include <unistd.h>
#include "testconnections.h"
using namespace std;
int main(int argc, char *argv[])
{
TestConnections * Test = new TestConnections(argc, argv);
Test->set_timeout(10);
Test->connect_maxscale();
Test->check_log_err((char *) "Multiple monitors are monitoring server", true);
int rval = Test->global_result;
delete Test;
return rval;
}