Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #278 from indigo-dc/devel
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
micafer authored Mar 28, 2019
2 parents e177f3a + 6b19626 commit 36bd8b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/functional/test_im.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,12 @@ def test_inf_lifecycle(self):

infId = IM.CreateInfrastructure(str(radl), auth0)

time.sleep(15)
state = IM.GetInfrastructureState(infId, auth0)
cont = 0
while state["state"] == "running" and cont < 60:
cont += 2
time.sleep(2)
state = IM.GetInfrastructureState(infId, auth0)

state = IM.GetInfrastructureState(infId, auth0)
self.assertEqual(state["state"], "unconfigured")
Expand Down

0 comments on commit 36bd8b7

Please sign in to comment.