summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000016.test
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-03 02:15:48 +0200
committermonty@donna.mysql.com <>2001-01-03 02:15:48 +0200
commit9ff59511a5001a07a3c1ef2c4531f69fb8180a72 (patch)
treeee1c300b5d4d96d2aa4fd1efea5bbf5e7a01628a /mysql-test/t/rpl000016.test
parentac0ceaf28e35ca50dfa606d3fd7ebb8e6e6e0085 (diff)
downloadmariadb-git-9ff59511a5001a07a3c1ef2c4531f69fb8180a72.tar.gz
Cleanup of tests to make them less dependent of eachother
Added new big select test
Diffstat (limited to 'mysql-test/t/rpl000016.test')
-rw-r--r--mysql-test/t/rpl000016.test23
1 files changed, 12 insertions, 11 deletions
diff --git a/mysql-test/t/rpl000016.test b/mysql-test/t/rpl000016.test
index f7aca9d4d92..5704bfeaf66 100644
--- a/mysql-test/t/rpl000016.test
+++ b/mysql-test/t/rpl000016.test
@@ -11,23 +11,24 @@ reset slave;
!change master to master_host='127.0.0.1',master_port=9306,master_user='root';
slave start;
connection master;
-drop table if exists foo;
-create table foo(s text);
-insert into foo values('Could not break slave'),('Tried hard');
+drop table if exists t1;
+create table t1 (s text);
+insert into t1 values('Could not break slave'),('Tried hard');
connection slave;
-sleep 0.3;
-select * from foo;
+sleep 2;
+select * from t1;
connection master;
flush logs;
-drop table if exists bar;
-create table bar(m int);
-insert into bar values (34),(67),(123);
+drop table if exists t2;
+create table t2(m int);
+insert into t2 values (34),(67),(123);
flush logs;
sleep 0.3;
show master logs;
purge master logs to 'master-bin.003';
show master logs;
-insert into bar values (65);
+insert into t2 values (65);
connection slave;
-sleep 0.3;
-select * from bar;
+sleep 2;
+select * from t2;
+drop table if exists t1,t2;