test timeout
This commit is contained in:
parent
721dadf09e
commit
1b238e2251
@ -14,8 +14,16 @@ it=0
|
|||||||
ttl=0
|
ttl=0
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status')
|
while true
|
||||||
|
do
|
||||||
|
if ! while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null); then
|
||||||
|
sleep 5
|
||||||
|
else
|
||||||
echo "$while_status" > temp.txt
|
echo "$while_status" > temp.txt
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
proc_count=${#processes[@]}
|
proc_count=${#processes[@]}
|
||||||
count=0
|
count=0
|
||||||
for proc in "${processes[@]}"
|
for proc in "${processes[@]}"
|
||||||
@ -30,7 +38,7 @@ do
|
|||||||
do
|
do
|
||||||
update_apps "${array[$it]}" &
|
update_apps "${array[$it]}" &
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
sleep 2
|
sleep 3
|
||||||
((it++))
|
((it++))
|
||||||
((proc_count++))
|
((proc_count++))
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user