Merge "Use detail listing in integration testing"

This commit is contained in:
Zuul 2018-07-23 16:00:34 +00:00 committed by Gerrit Code Review
commit d803ffb717
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ function waitforimage {
while ! $NODEPOOL image-list | grep $name | grep $state; do
$NODEPOOL image-list > ${LOGDIR}/nodepool-image-list.txt
$NODEPOOL list > ${LOGDIR}/nodepool-list.txt
$NODEPOOL list --detail > ${LOGDIR}/nodepool-list.txt
builds=$(ls -l /var/log/nodepool/builds/ | grep $name | wc -l)
if [[ ${builds} -ge 4 ]]; then
@ -76,7 +76,7 @@ function waitfornode {
while ! $NODEPOOL list | grep $name | grep $state | grep "unlocked"; do
$NODEPOOL image-list > ${LOGDIR}/nodepool-image-list.txt
$NODEPOOL list > ${LOGDIR}/nodepool-list.txt
$NODEPOOL list --detail > ${LOGDIR}/nodepool-list.txt
sleep 10
done
}