Wait longer for lease deletion to complete
When testing with Ubuntu Jammy, this test is consistently failing. Wait longer for Blazar to complete lease deletion, since server deletion is only the first part of it. Change-Id: Ibd48ad420c3f4de43950c15769c7701a7eb49222
This commit is contained in:
parent
5334331b20
commit
b04a4d07ea
@ -306,6 +306,9 @@ class TestHostReservationScenario(rrs.ResourceReservationScenarioTest):
|
||||
waiters.wait_for_server_termination(self.os_admin.servers_client,
|
||||
server['id'])
|
||||
|
||||
# wait long enough for the lease deletion to be complete
|
||||
time.sleep(30)
|
||||
|
||||
# check that the host aggregate was deleted
|
||||
self.assertRaises(exceptions.NotFound,
|
||||
self.fetch_aggregate_by_name, reservation_id)
|
||||
|
Loading…
Reference in New Issue
Block a user