• unknown's avatar
    Fix of test suite in scope of fixing BUG#18023: IM: instance · 72335c66
    unknown authored
    can be started several times; monitor interval must be > 2sec
    
    
    mysql-test/r/im_daemon_life_cycle.result:
      Updated result file.
    mysql-test/r/im_life_cycle.result:
      Updated result file.
    mysql-test/r/im_utils.result:
      Updated result file.
    mysql-test/t/im_daemon_life_cycle-im.opt:
      Set monitoring interval to 1 second in order to:
        - be consistent with 5.1;
        - speed up tests;
    mysql-test/t/im_daemon_life_cycle.imtest:
      1. Use wait_for_start.sh script to minimize chance of race condition.
      2. Polishing.
    mysql-test/t/im_life_cycle.imtest:
      1. Use wait_for_start.sh and wait_for_stop.sh scripts to
         minimize chance of race condition;
      2. Remove some statements, because there is no way now to
         stabilize their output.
      3. Polishing;
    mysql-test/t/im_utils.imtest:
      1. Use wait_for_start.sh script to minimize chance of race condition.
      2. Polishing.
    mysql-test/t/kill_n_check.sh:
      1. Make timeout configurable by command-line argument;
      2. Change algorithm of waiting for process to restart to be
         more robust.
    mysql-test/t/im_life_cycle-im.opt:
      Set monitoring interval to 1 second in order to:
        - be consistent with 5.1;
        - speed up tests;
    mysql-test/t/im_utils-im.opt:
      Set monitoring interval to 1 second in order to:
        - be consistent with 5.1;
        - speed up tests;
    mysql-test/t/wait_for_process.sh:
      A new helper script, intended to be used instead of dummy "sleep"
      when waiting for some process to start or stop.
    72335c66
wait_for_process.sh 1.09 KB