Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t.

This commit is contained in:
Daniel Nichter
2012-08-22 14:04:42 -06:00
parent f2fd553bae
commit dbeaec77b6
2 changed files with 3 additions and 3 deletions

View File

@@ -204,9 +204,9 @@ wait_for_files() {
for file in "$@"; do
local slept=0
while ! [ -f $file ]; do
sleep 0.1;
sleep 0.2;
slept=$((slept + 1))
[ $slept -ge 50 ] && break # 5s
[ $slept -ge 150 ] && break # 30s
done
done
}