From ec76f28b9b17731825d3c6c864b5d8ee728bc79e Mon Sep 17 00:00:00 2001 From: Stanislaw Pitucha Date: Fri, 15 Feb 2013 18:53:19 +0000 Subject: Speedup the revert_state test test_revert_state can take over 10 seconds, but more than half of the time is spent in run_instance() which doesn't change the result. Remove the call to speed up the tests. Change-Id: I0557d6822576b99376da8691ee6e76b759d3bc9c --- nova/tests/compute/test_compute.py | 1 - 1 file changed, 1 deletion(-) (limited to 'nova') diff --git a/nova/tests/compute/test_compute.py b/nova/tests/compute/test_compute.py index 5afaa8e3c..02baf7934 100644 --- a/nova/tests/compute/test_compute.py +++ b/nova/tests/compute/test_compute.py @@ -1792,7 +1792,6 @@ class ComputeTestCase(BaseTestCase): kwargs = {} instance = self._create_fake_instance() - self.compute.run_instance(self.context, instance=instance) # The API would have set task_state, so do that here to test # that the state gets reverted on failure -- cgit