f-79: e2e: VM et subnet supprimés d'un coup, wait_state à 480 s #79
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
e6c758af78
commit
f799f8d83e
2 changed files with 15 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ api_state () {
|
|||
|
||||
wait_state () {
|
||||
local path="${1}" want="${2}" i s code=""
|
||||
for i in $(seq 1 180); do
|
||||
for i in $(seq 1 240); do
|
||||
s=$(api_state "${path}")
|
||||
[ "${s}" = "${want}" ] && return 0
|
||||
if [ "${want}" = deleted ] && [ -z "${s}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue