• Sven Sandberg's avatar
    BUG#49978: Replication tests don't clean up replication state at the end · 8b27f9a0
    Sven Sandberg authored
    Major replication test framework cleanup. This does the following:
     - Ensure that all tests clean up the replication state when they
       finish, by making check-testcase check the output of SHOW SLAVE STATUS.
       This implies:
        - Slave must not be running after test finished. This is good
          because it removes the risk for sporadic errors in subsequent
          tests when a test forgets to sync correctly.
        - Slave SQL and IO errors must be cleared when test ends. This is
          good because we will notice if a test gets an unexpected error in
          the slave threads near the end.
        - We no longer have to clean up before a test starts.
     - Ensure that all tests that wait for an error in one of the slave
       threads waits for a specific error. It is no longer possible to
       source wait_for_slave_[sql|io]_to_stop.inc when there is an error
       in one of the slave threads. This is good because:
        - If a test expects an error but there...
    8b27f9a0
rpl_ndb_trig004.result 741 Bytes