mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
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>
This commit is contained in:
parent
c1e47ad329
commit
f5ba9137cc
@ -854,9 +854,6 @@ class TestVMLifeCycle(cloudstackTestCase):
|
||||
)
|
||||
|
||||
expunge_delay = int(config[0].value)
|
||||
if expunge_delay < 600:
|
||||
expunge_delay = 600
|
||||
# Wait for some time more than expunge.delay
|
||||
time.sleep(expunge_delay * 2)
|
||||
|
||||
#VM should be destroyed unless expunge thread hasn't run
|
||||
@ -866,9 +863,6 @@ class TestVMLifeCycle(cloudstackTestCase):
|
||||
name='expunge.interval'
|
||||
)
|
||||
expunge_cycle = int(config[0].value)
|
||||
if expunge_cycle < 600:
|
||||
expunge_cycle = 600
|
||||
|
||||
wait_time = expunge_cycle * 2
|
||||
while wait_time >= 0:
|
||||
list_vm_response = list_virtual_machines(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user