• msvensson@neptunus.(none)'s avatar
    Bug#19535 mysql-test-run cannot handle crashing test cases · c40e953d
    msvensson@neptunus.(none) authored
     - Make mysql-test-run.pl restart a crashed/stopped process if it was expected it should crash.
     - Added testcase for "crash_commit_before", which tests behaviour when server crashes just before commit.
      * The testcase first write a small var/tmp/master0.expect file indicating expected crash
      * Then sets "DEBUG" variable to for example "d,crash_commit_before" and then executes a commit.
      * The server will crash and be brought back up by mysql-test-run.pl
      * Test case will then wait for the process to come back online before continuing.
    c40e953d
wait_until_connected_again.inc 357 Bytes