Fix Cisco UCS slow tests
This patch sets the cisco_ucs.action_interval configuration option in the tests to 0, so that we don't spend time sleeping when testing the driver. Closes-Bug: #1465239 Change-Id: Ic5780d196ce58bc5f8628e6998f2b2554d4a869a
This commit is contained in:
parent
999ab80b83
commit
d287e3d414
@ -43,7 +43,7 @@ class UcsPowerTestCase(db_base.DbTestCase):
|
||||
driver='fake_ucs',
|
||||
driver_info=driver_info)
|
||||
CONF.set_override('max_retry', 2, 'cisco_ucs')
|
||||
CONF.set_override('action_interval', 1, 'cisco_ucs')
|
||||
CONF.set_override('action_interval', 0, 'cisco_ucs')
|
||||
self.interface = ucs_power.Power()
|
||||
|
||||
def test_get_properties(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user