diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2021-09-28 18:14:11 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2021-09-28 18:14:11 +0300 |
commit | 27738bd774a5435026602ef94a3abc492f1f72e6 (patch) | |
tree | d58196744596f7e458bcb113b50f9e78ff75a872 /mysql-test/lib | |
parent | e79fa9f542ea362577c78b9b0f4def2fc8d3be4f (diff) | |
download | mariadb-git-27738bd774a5435026602ef94a3abc492f1f72e6.tar.gz |
MTR: loops should divide milliseconds by millisecondsst-10.6-vicentiu
timeout is in seconds, sleeptime is in miliseconds. Otherwise we sleep
for 10 times longer than the timeout.
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_process.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/mtr_process.pl b/mysql-test/lib/mtr_process.pl index a384aa584c4..42254bd29b7 100644 --- a/mysql-test/lib/mtr_process.pl +++ b/mysql-test/lib/mtr_process.pl @@ -109,7 +109,7 @@ sub sleep_until_file_created ($$$$$) { my $proc= shift; my $warn_seconds = shift; my $sleeptime= 10; # Milliseconds - my $loops= ($timeout * 10000) / $sleeptime; + my $loops= ($timeout * 1000) / $sleeptime; my $message_time= 60; for ( my $loop= 0; $loop <= $loops; $loop++ ) |