Commit 4a805925 authored by unknown's avatar unknown

Added synchronization to avoid race condition in tests

parent d189ab9b
...@@ -24,6 +24,7 @@ use mysqltest1; ...@@ -24,6 +24,7 @@ use mysqltest1;
connection master; connection master;
alter table t1 engine=myisam; alter table t1 engine=myisam;
show create table t1; show create table t1;
sync_slave_with_master;
connection slave; connection slave;
alter table t1 engine=myisam; alter table t1 engine=myisam;
...@@ -48,6 +49,7 @@ show create table t1; ...@@ -48,6 +49,7 @@ show create table t1;
connection master; connection master;
alter table t1 engine=memory; alter table t1 engine=memory;
show create table t1; show create table t1;
sync_slave_with_master;
connection slave; connection slave;
alter table t1 engine=myisam; alter table t1 engine=myisam;
...@@ -72,6 +74,7 @@ show create table t1; ...@@ -72,6 +74,7 @@ show create table t1;
connection master; connection master;
alter table t1 engine=innodb; alter table t1 engine=innodb;
show create table t1; show create table t1;
sync_slave_with_master;
connection slave; connection slave;
alter table t1 engine=myisam; alter table t1 engine=myisam;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment