Merge "libvirt: improve unit test time"

This commit is contained in:
Jenkins
2014-09-16 02:43:49 +00:00
committed by Gerrit Code Review

View File

@@ -7200,6 +7200,7 @@ class LibvirtConnTestCase(test.TestCase,
def _test_clean_shutdown(self, seconds_to_shutdown,
timeout, retry_interval,
shutdown_attempts, succeeds):
self.stubs.Set(time, 'sleep', lambda x: None)
info_tuple = ('fake', 'fake', 'fake', 'also_fake')
shutdown_count = []