Skip to content

Commit f5ba913

Browse files
author
Prasanna Santhanam
committed
Back to the old expunge logic
The expunge interval and delay are respected and no additional delays are introduced. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent c1e47ad commit f5ba913

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,6 @@ def test_09_expunge_vm(self):
854854
)
855855

856856
expunge_delay = int(config[0].value)
857-
if expunge_delay < 600:
858-
expunge_delay = 600
859-
# Wait for some time more than expunge.delay
860857
time.sleep(expunge_delay * 2)
861858

862859
#VM should be destroyed unless expunge thread hasn't run
@@ -866,9 +863,6 @@ def test_09_expunge_vm(self):
866863
name='expunge.interval'
867864
)
868865
expunge_cycle = int(config[0].value)
869-
if expunge_cycle < 600:
870-
expunge_cycle = 600
871-
872866
wait_time = expunge_cycle * 2
873867
while wait_time >= 0:
874868
list_vm_response = list_virtual_machines(

0 commit comments

Comments
 (0)