mirror of https://github.com/apache/cloudstack.git
test_vm_life_cycle: Fix expunging logic as in mgmt server
Sets expunge interval to 600 if it's less than that Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
767f54cc9a
commit
bc40ed85e5
|
|
@ -864,6 +864,9 @@ class TestVMLifeCycle(cloudstackTestCase):
|
|||
name='expunge.interval'
|
||||
)
|
||||
expunge_cycle = int(config[0].value)*2
|
||||
if expunge_cycle < 600:
|
||||
expunge_cycle = 600*2
|
||||
|
||||
while expunge_cycle > 0:
|
||||
list_vm_response = list_virtual_machines(
|
||||
self.apiclient,
|
||||
|
|
|
|||
Loading…
Reference in New Issue