Skip to content

Commit

Permalink
Back to the old expunge logic
Browse files Browse the repository at this point in the history
The expunge interval and delay are respected and no additional delays
are introduced.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
  • Loading branch information
Prasanna Santhanam committed Feb 25, 2013
1 parent c1e47ad commit f5ba913
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/integration/smoke/test_vm_life_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,6 @@ def test_09_expunge_vm(self):
)

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
Expand All @@ -866,9 +863,6 @@ def test_09_expunge_vm(self):
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(
Expand Down

0 comments on commit f5ba913

Please sign in to comment.