• Anel Husakovic's avatar
    MDEV-23769: MTR can abort before it prints the test result summary · cd927dd3
    Anel Husakovic authored
    - Patch is solving generating report on warning
            To repeat the error run single worker:
            ```
            ./mtr --mysqld=--lock-wait-timeout=-xx 1st 1st --force --parallel 1
            ```
            or `N` workers with `N+1` tests with failures and `force`
            ```
            ./mtr --mysqld=--lock-wait-timeout=-xx 1st 1st grant5 --force --parallel 2
            ```
    - Patch is doing cosmetic fix of `current_test` log file which holds the old log value of test `CURRENT TEST:..` in `mark_log()` in case of `unknown option` and as such
      the logic which is using it's content doesn't output valid log content and doesn't generate valid `$test->{'comment'}` message.asdf
    
    - Closing the socket/handler after the removing the handler from IO for
    consistency
    
    Reviewed by: serg@mariadb.com
    cd927dd3
mysql-test-run.pl 197 KB