Skip to content

Commit bcd62e1

Browse files
committed
Fix tests under slow devices.
1 parent fb72018 commit bcd62e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sql/show.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ if grep "RUNNING" ${TEST_BASE}/TEST-0002-show.out > /dev/null ; then
3838
else
3939
echo 'NG: RUNNING status is not shown.'
4040
fi
41-
sleep 5
41+
while [[ `pg_arman show -B ${BACKUP_PATH}` == *"RUNNING"* ]]
42+
do
43+
sleep 2
44+
done
4245
echo ''
4346

4447
echo '###### SHOW COMMAND TEST-0003 ######'

0 commit comments

Comments
 (0)