Skip to content

Commit bc40ed8

Browse files
committed
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>
1 parent 767f54c commit bc40ed8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,9 @@ def test_09_expunge_vm(self):
864864
name='expunge.interval'
865865
)
866866
expunge_cycle = int(config[0].value)*2
867+
if expunge_cycle < 600:
868+
expunge_cycle = 600*2
869+
867870
while expunge_cycle > 0:
868871
list_vm_response = list_virtual_machines(
869872
self.apiclient,

0 commit comments

Comments
 (0)