Skip to content

Commit 0267cad

Browse files
committed
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.
1 parent 6dfb73a commit 0267cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/mysql-test-run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4570,8 +4570,8 @@ ($)
45704570

45714571
my $timeout= start_timer(check_timeout($tinfo));
45724572

4573+
my $result= 0;
45734574
while (1){
4574-
my $result= 0;
45754575
my $proc= My::SafeProcess->wait_any_timeout($timeout);
45764576
mtr_report("Got $proc");
45774577

0 commit comments

Comments
 (0)