Backport testing fixes to 2.1

Some of the testing fixes weren't included into 2.1 and due to that, a few
of the tests appear to fail.
This commit is contained in:
Markus Mäkelä
2017-07-27 08:28:16 +03:00
parent e26ec4f8b9
commit 563fdb4db5
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#
# TODO: Don't test correctness of routing with mysqltest
#
./non_native_setup $1
master_id=`echo "SELECT @@server_id" | mysql -u$node_user -p$node_password -h $node_000_network $ssl_options -P $node_000_port | tail -n1`
echo "--disable_query_log" > Hartmut_tests/maxscale-mysqltest/testconf.inc
echo "SET @TMASTER_ID=$master_id;" >> Hartmut_tests/maxscale-mysqltest/testconf.inc

View File

@ -1672,7 +1672,7 @@ void *timeout_thread( void *ptr )
Test->timeout--;
}
Test->tprintf("\n **** Timeout! *** \n");
delete Test;
Test->~TestConnections();
exit(250);
}