Commit 0267cad5 authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: mtr non-reliable failure detection

The $result variable was supposed to accumulate failures from
all mysqltest processes (that analyzed all error logs in parallel).
But it was mistakenly put in the loop, so it was reset for each process.
parent 6dfb73a9
......@@ -4570,8 +4570,8 @@ sub check_warnings ($) {
my $timeout= start_timer(check_timeout($tinfo));
my $result= 0;
while (1){
my $result= 0;
my $proc= My::SafeProcess->wait_any_timeout($timeout);
mtr_report("Got $proc");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment