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

@ -25,7 +25,7 @@ int main(int argc, char *argv[])
Test->repl->close_connections();
sleep(5);
Test->start_binlog();
Test->start_binlog(0);
pthread_t threads;
int iret;
@ -51,7 +51,8 @@ void *disconnect_thread( void *ptr )
MYSQL * conn;
char cmd[256];
int i;
conn = open_conn(Test->binlog_port, Test->maxscale_IP, Test->repl->user_name, Test->repl->password,
conn = open_conn(Test->maxscales->binlog_port[0], Test->maxscales->IP[0], Test->repl->user_name,
Test->repl->password,
Test->repl->ssl);
Test->add_result(mysql_errno(conn), "Error connecting to Binlog router, error: %s\n", mysql_error(conn));
i = 3;