Add variable to set inspection timeout in tempest tests
Inspection can sometimes take longer based on multiple factors.
This patch adds a variable to control the node inspection timeout.
Change-Id: Iefac618d73ccba3b58baefdc6b993758622b8811
(cherry picked from commit a02fcd1e75
)
This commit is contained in:
parent
470c2f4119
commit
1f676f9d8e
|
@ -103,6 +103,7 @@ fi
|
|||
|
||||
# Ironic Inspector tempest variables
|
||||
IRONIC_INSPECTOR_TEMPEST_DISCOVERY_TIMEOUT=${IRONIC_INSPECTOR_TEMPEST_DISCOVERY_TIMEOUT:-}
|
||||
IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT=${IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT:-}
|
||||
|
||||
### Utilities
|
||||
|
||||
|
@ -552,6 +553,9 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
|||
if [[ -n "${IRONIC_INSPECTOR_TEMPEST_DISCOVERY_TIMEOUT}" ]]; then
|
||||
iniset $TEMPEST_CONFIG baremetal_introspection discovery_timeout $IRONIC_INSPECTOR_TEMPEST_DISCOVERY_TIMEOUT
|
||||
fi
|
||||
if [[ -n "${IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT}" ]]; then
|
||||
iniset $TEMPEST_CONFIG baremetal_introspection introspection_timeout $IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT
|
||||
fi
|
||||
iniset $TEMPEST_CONFIG baremetal_introspection data_store $IRONIC_INSPECTOR_INTROSPECTION_DATA_STORE
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue