Merge "Remove hard-coded DEPLOYWAIT timeout from Baremetal Scenario"
This commit is contained in:
@@ -44,6 +44,10 @@ BaremetalGroup = [
|
||||
'publicURL', 'adminURL', 'internalURL'],
|
||||
help="The endpoint type to use for the baremetal provisioning "
|
||||
"service"),
|
||||
cfg.IntOpt('deploywait_timeout',
|
||||
default=15,
|
||||
help="Timeout for Ironic node to reach the "
|
||||
"wait-callback state after powering on."),
|
||||
cfg.IntOpt('active_timeout',
|
||||
default=300,
|
||||
help="Timeout for Ironic node to completely provision"),
|
||||
|
||||
@@ -156,7 +156,7 @@ class BaremetalScenarioTest(manager.ScenarioTest):
|
||||
self.node['uuid'],
|
||||
[BaremetalProvisionStates.DEPLOYWAIT,
|
||||
BaremetalProvisionStates.ACTIVE],
|
||||
timeout=15)
|
||||
timeout=CONF.baremetal.deploywait_timeout)
|
||||
|
||||
self.wait_provisioning_state(self.node['uuid'],
|
||||
BaremetalProvisionStates.ACTIVE,
|
||||
|
||||
Reference in New Issue
Block a user