From 6aee6e29c0c470b1be55ec4060d8c146c6757b0f Mon Sep 17 00:00:00 2001 From: "mats@romeo.(none)" <> Date: Mon, 16 Apr 2007 15:52:56 +0200 Subject: [PATCH] Updating tests to eliminate some sporadic non-critical failures. --- mysql-test/r/rpl_ndb_circular_simplex.result | 37 +++++++++++++++++++- mysql-test/t/rpl_ndb_circular_simplex.test | 7 +++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/mysql-test/r/rpl_ndb_circular_simplex.result b/mysql-test/r/rpl_ndb_circular_simplex.result index fda5ce68db9..ac8b94a3ec2 100644 --- a/mysql-test/r/rpl_ndb_circular_simplex.result +++ b/mysql-test/r/rpl_ndb_circular_simplex.result @@ -37,7 +37,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 -Exec_Master_Log_Pos 754 +Exec_Master_Log_Pos # Relay_Log_Space # Until_Condition None Until_Log_File @@ -60,3 +60,38 @@ SELECT * FROM t1 ORDER BY a; a b 1 2 2 3 +SHOW SLAVE STATUS; +Slave_IO_State # +Master_Host 127.0.0.1 +Master_User root +Master_Port 9306 +Connect_Retry 1 +Master_Log_File master-bin.000001 +Read_Master_Log_Pos # +Relay_Log_File # +Relay_Log_Pos # +Relay_Master_Log_File master-bin.000001 +Slave_IO_Running Yes +Slave_SQL_Running Yes +Replicate_Do_DB +Replicate_Ignore_DB +Replicate_Do_Table +Replicate_Ignore_Table +Replicate_Wild_Do_Table +Replicate_Wild_Ignore_Table +Last_Errno 0 +Last_Error +Skip_Counter 0 +Exec_Master_Log_Pos # +Relay_Log_Space # +Until_Condition None +Until_Log_File +Until_Log_Pos 0 +Master_SSL_Allowed No +Master_SSL_CA_File +Master_SSL_CA_Path +Master_SSL_Cert +Master_SSL_Cipher +Master_SSL_Key +Seconds_Behind_Master # +Master_SSL_Verify_Server_Cert No diff --git a/mysql-test/t/rpl_ndb_circular_simplex.test b/mysql-test/t/rpl_ndb_circular_simplex.test index ca346a5ad4c..5277b49d258 100644 --- a/mysql-test/t/rpl_ndb_circular_simplex.test +++ b/mysql-test/t/rpl_ndb_circular_simplex.test @@ -51,7 +51,7 @@ sync_with_master; # Check that there is no error in replication --replace_result $SLAVE_MYPORT SLAVE_PORT ---replace_column 1 # 7 # 8 # 9 # 23 # 33 # +--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 # query_vertical SHOW SLAVE STATUS; # Check that we have the data on the master @@ -75,3 +75,8 @@ START SLAVE; # check that we have the data on the slave sync_with_master; SELECT * FROM t1 ORDER BY a; + +# Check that there is no error in replication +--replace_result $SLAVE_MYPORT SLAVE_PORT +--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 # +query_vertical SHOW SLAVE STATUS;