refactored tests (#147)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user