Merge "make i local"
This commit is contained in:
commit
5a98d4f7d0
@ -559,6 +559,7 @@ function wait_for_nova_resources {
|
||||
# timing out.
|
||||
local resource=$1
|
||||
local expected_count=$2
|
||||
local i
|
||||
echo_summary "Waiting 2 minutes for Nova resource tracker to pick up $resource >= $expected_count"
|
||||
for i in $(seq 1 120); do
|
||||
if [ $(nova hypervisor-stats | grep " $resource " | get_field 2) -ge $expected_count ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user