* add binlog test with gtid

* removing ;

* restore test to initial state with check_sha1()

* remove reset master

* make no_vm_revert true by dafault
This commit is contained in:
Timofey Turenko
2017-08-24 12:21:29 +03:00
committed by GitHub
parent 8285801fa6
commit c794af1f47
9 changed files with 290 additions and 48 deletions

View File

@ -192,7 +192,8 @@ void test_binlog(TestConnections* Test)
Test->stop_timeout();
// test SLAVE STOP/START
for (int j = 0; j < 3; j++)
Test->tprintf("test SLAVE STOP/START");
for (int j = 1; j < 2; j++)
{
Test->set_timeout(100);
Test->repl->connect();
@ -212,6 +213,9 @@ void test_binlog(TestConnections* Test)
{
Test->tprintf("FLUSH LOGS on master\n");
execute_query(Test->repl->nodes[0], (char *) "FLUSH LOGS");
execute_query(Test->repl->nodes[0], (char *) "FLUSH LOGS");
execute_query(Test->repl->nodes[0], (char *) "FLUSH LOGS");
execute_query(Test->repl->nodes[0], (char *) "FLUSH LOGS");
}
Test->add_result(insert_into_t1(Test->repl->nodes[0], 4), "INSERT into t1 failed\n");