add tests
This commit is contained in:

committed by
Markus Mäkelä

parent
dbfd631fed
commit
8c6ca38a8a
34
maxscale-system-test/bug466.cpp
Normal file
34
maxscale-system-test/bug466.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include "testconnections.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
int global_result = 0;
|
||||
|
||||
Test->ReadEnv();
|
||||
Test->PrintIP();
|
||||
|
||||
Test->ConnectMaxscale();
|
||||
|
||||
|
||||
execute_query(Test->conn_rwsplit, (char *) "select @@server_id; -- max_slave_replication_lag=120");
|
||||
|
||||
|
||||
|
||||
|
||||
Test->CloseMaxscaleConn();
|
||||
|
||||
|
||||
global_result += CheckMaxscaleAlive();
|
||||
|
||||
Test->Copy_all_logs();
|
||||
return global_result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user