[Commits] 0d7c43cf565: MDEV-16272 rpl.rpl_semisync_ali_issues failed in buildbot with wrong result

sachin.setiya at mariadb.com sachin.setiya at mariadb.com
Sat May 11 14:40:11 EEST 2019


revision-id: 0d7c43cf5653454b90397838dccacfa5cbc8345e (mariadb-10.3.12-183-g0d7c43cf565)
parent(s): eb9364b74c77d26f894440b348de616a925057bf
author: Sachin
committer: Sachin
timestamp: 2019-05-11 17:09:26 +0530
message:

MDEV-16272 rpl.rpl_semisync_ali_issues failed in buildbot with wrong result

Since start slave does wait for slave to start , Add a wait condition to
confirm that slave is started.

---
 mysql-test/suite/rpl/r/rpl_semisync_ali_issues.result | 1 +
 mysql-test/suite/rpl/t/rpl_semisync_ali_issues.test   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/mysql-test/suite/rpl/r/rpl_semisync_ali_issues.result b/mysql-test/suite/rpl/r/rpl_semisync_ali_issues.result
index 9607e8a7998..0468095a3dd 100644
--- a/mysql-test/suite/rpl/r/rpl_semisync_ali_issues.result
+++ b/mysql-test/suite/rpl/r/rpl_semisync_ali_issues.result
@@ -29,6 +29,7 @@ connection slave;
 stop slave;
 set global rpl_semi_sync_slave_enabled = 1;
 start slave;
+include/wait_for_slave_to_start.inc
 show status like 'rpl_semi_sync_slave%';
 Variable_name	Value
 Rpl_semi_sync_slave_send_ack	0
diff --git a/mysql-test/suite/rpl/t/rpl_semisync_ali_issues.test b/mysql-test/suite/rpl/t/rpl_semisync_ali_issues.test
index 52cd9e31753..ad5c5911ed6 100644
--- a/mysql-test/suite/rpl/t/rpl_semisync_ali_issues.test
+++ b/mysql-test/suite/rpl/t/rpl_semisync_ali_issues.test
@@ -31,6 +31,7 @@ echo [ enable semi-sync on slave ];
 stop slave;
 set global rpl_semi_sync_slave_enabled = 1;
 start slave;
+--source include/wait_for_slave_to_start.inc
 show status like 'rpl_semi_sync_slave%';
 
 connection master;


More information about the commits mailing list