add tests
This commit is contained in:

committed by
Markus Mäkelä

parent
dbfd631fed
commit
8c6ca38a8a
29
maxscale-system-test/different_size_binlog.cpp
Normal file
29
maxscale-system-test/different_size_binlog.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @file different_size_binlog.cpp Tries INSERTs with size close to 0x0ffffff * N
|
||||
* - configure binlog
|
||||
* - executes inserts with size: from 0x0ffffff * N - X up to 0x0ffffff * N - X
|
||||
* (N = 3, X = 50 or 20 for 'soke' test)
|
||||
* - check if Maxscale is still alive
|
||||
*/
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include "testconnections.h"
|
||||
#include "different_size.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
|
||||
Test->set_timeout(300);
|
||||
Test->start_binlog();
|
||||
different_packet_size(Test, true);
|
||||
|
||||
Test->check_maxscale_processes(1);
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
return rval;
|
||||
}
|
Reference in New Issue
Block a user