add tests
This commit is contained in:

committed by
Markus Mäkelä

parent
dbfd631fed
commit
8c6ca38a8a
25
maxscale-system-test/mxs710_bad_socket.cpp
Normal file
25
maxscale-system-test/mxs710_bad_socket.cpp
Normal file
@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @file mxs710_bad_socket.cpp mxs710_bad_socket regression case (Maxscale does not startup properly and crashes after trying to login to database)
|
||||
* - try to start maxscale with "socket=/var/lib/mysqld/mysql.sock" in the listener definition
|
||||
* - do not expect crash
|
||||
* - try the same with two listers for one service, one of them uses unreachable port
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include "testconnections.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
Test->check_maxscale_processes(0);
|
||||
Test->check_log_err("Fatal", false);
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
return rval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user