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

@ -45,7 +45,7 @@ void* test_thr(void *data)
while (running)
{
MYSQL *mysql = Test->open_rwsplit_connection();
MYSQL *mysql = Test->maxscales->open_rwsplit_connection(0);
for (int i = 0; i < 3; i++)
{
@ -91,8 +91,8 @@ int main(int argc, char *argv[])
Test->stop_timeout();
sleep(5);
Test->check_maxscale_alive();
Test->check_current_operations(0);
Test->check_maxscale_alive(0);
Test->check_current_operations(0, 0);
int rval = Test->global_result;
delete Test;