File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,10 @@ gtid_binlog_state_equal
28
28
#cleanup
29
29
connection node_3;
30
30
DROP TABLE t1;
31
- reset master;
31
+ connection node_1;
32
+ connection node_2;
33
+ connection node_3;
34
+ RESET MASTER;
32
35
connection node_1;
33
36
STOP SLAVE;
34
37
RESET SLAVE ALL;
Original file line number Diff line number Diff line change @@ -58,7 +58,17 @@ SELECT COUNT(*) AS EXPECT_0 FROM t1;
58
58
--echo #cleanup
59
59
--connection node_3
60
60
DROP TABLE t1;
61
- reset master;
61
+
62
+ --connection node_1
63
+ --let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
64
+ --source include/wait_condition.inc
65
+
66
+ --connection node_2
67
+ --let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
68
+ --source include/wait_condition.inc
69
+
70
+ --connection node_3
71
+ RESET MASTER;
62
72
63
73
--connection node_1
64
74
STOP SLAVE;
You can’t perform that action at this time.
0 commit comments