Commit 5af42c1b authored by unknown's avatar unknown

minor fix to mtr_process.pl


mysql-test/lib/mtr_process.pl:
  print extra message _once_ every 60 seconds
parent 3b1abddb
...@@ -1053,7 +1053,7 @@ sub sleep_until_file_created ($$$) { ...@@ -1053,7 +1053,7 @@ sub sleep_until_file_created ($$$) {
# Print extra message every 60 seconds # Print extra message every 60 seconds
my $seconds= ($loop * $sleeptime) / 1000; my $seconds= ($loop * $sleeptime) / 1000;
if ( $seconds > 1 and int($seconds) % 60 == 0 ) if ( $seconds > 1 and int($seconds * 10) % 600 == 0 )
{ {
my $left= $timeout - $seconds; my $left= $timeout - $seconds;
mtr_warning("Waited $seconds seconds for $pidfile to be created, " . mtr_warning("Waited $seconds seconds for $pidfile to be created, " .
......
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