Merge "Use detail listing in integration testing"
This commit is contained in:
commit
d803ffb717
|
@ -59,7 +59,7 @@ function waitforimage {
|
||||||
|
|
||||||
while ! $NODEPOOL image-list | grep $name | grep $state; do
|
while ! $NODEPOOL image-list | grep $name | grep $state; do
|
||||||
$NODEPOOL image-list > ${LOGDIR}/nodepool-image-list.txt
|
$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)
|
builds=$(ls -l /var/log/nodepool/builds/ | grep $name | wc -l)
|
||||||
if [[ ${builds} -ge 4 ]]; then
|
if [[ ${builds} -ge 4 ]]; then
|
||||||
|
@ -76,7 +76,7 @@ function waitfornode {
|
||||||
|
|
||||||
while ! $NODEPOOL list | grep $name | grep $state | grep "unlocked"; do
|
while ! $NODEPOOL list | grep $name | grep $state | grep "unlocked"; do
|
||||||
$NODEPOOL image-list > ${LOGDIR}/nodepool-image-list.txt
|
$NODEPOOL image-list > ${LOGDIR}/nodepool-image-list.txt
|
||||||
$NODEPOOL list > ${LOGDIR}/nodepool-list.txt
|
$NODEPOOL list --detail > ${LOGDIR}/nodepool-list.txt
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue