Commit 4c1d0f96 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: ScalabilityTestRunner: Destroy instance correctly

parent 681b09fc
...@@ -397,9 +397,10 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -397,9 +397,10 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
error = ValueError("Test case is in an undeterminated state") error = ValueError("Test case is in an undeterminated state")
break; break;
# Destroy instance # Stop and Destroy instance
self.slapos_controler.stopInstance(self.instance_title)
self._waitInstance(self.instance_title, 'stopped')
self.slapos_controler.destroyInstance(self.instance_title) self.slapos_controler.destroyInstance(self.instance_title)
self._waitInstance(self.instance_title, 'destroyed')
if error: if error:
test_result_proxy.fail() test_result_proxy.fail()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment