• unknown's avatar
    Fix for bug #28772: rpl_row_until fails in pushbuild · 95e08734
    unknown authored
    Problem: we use 'sleep 2; wait_for_slave_to_stop;' to reach some slave's states
    which is buggy, wasteful of time, platform dependant etc.
    Fix: use include/wait_for_slave_***.inc's where it's possible instead.
    
    
    mysql-test/include/wait_for_slave_io_to_stop.inc:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - changed to use query_vertical so that it is easier to read the output.
    mysql-test/include/wait_for_slave_sql_to_stop.inc:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - changed to use query_vertical so that it is easier to read the output.
    mysql-test/include/wait_for_slave_to_start.inc:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - changed to use query_vertical so that it is easier to read the output.
    mysql-test/include/wait_for_slave_to_stop.inc:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - changed to use query_vertical so that it is easier to read the output.
    mysql-test/t/rpl_row_until.test:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing
          include/wait_for_slave_sql_to_stop.inc to be more predictable.
    mysql-test/t/rpl_stm_until.test:
      Fix for bug #28772: rpl_row_until fails in pushbuild
        - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing
          include/wait_for_slave_sql_to_stop.inc to be more predictable.
    95e08734
wait_for_slave_to_start.inc 875 Bytes