refactored tests (#147)

This commit is contained in:
Timofey Turenko
2017-12-08 12:23:04 +02:00
committed by GitHub
parent c6daf8c26b
commit 3c88bf1ec6
253 changed files with 5265 additions and 3649 deletions

View File

@ -33,12 +33,12 @@ void* query_thread(void *data)
if (iter % 2 == 0)
{
mysql = Test->open_readconn_slave_connection();
mysql = Test->maxscales->open_readconn_slave_connection(0);
type = "master_failure_mode=error_on_write";
}
else
{
mysql = Test->open_readconn_master_connection();
mysql = Test->maxscales->open_readconn_master_connection(0);
type = "master_failure_mode=fail_on_write";
}