Browse code

Set unprovision and active timeout to match build_timeout

The build_timeout for the ironic baremetal build is at
340s. Modify the unprovision_timeout and active_timeout
to match BUILD_TIMEOUT to avoid frequent failures during
IPA gate jobs.

Change-Id: Idfdc54210e33c71719c7fd0c905d0b802809e173
Related-Bug: #1393099

Arun S A G authored on 2015/11/21 13:01:24
Showing 1 changed files
... ...
@@ -508,7 +508,8 @@ function configure_tempest {
508 508
     # Baremetal
509 509
     if [ "$VIRT_DRIVER" = "ironic" ] ; then
510 510
         iniset $TEMPEST_CONFIG baremetal driver_enabled True
511
-        iniset $TEMPEST_CONFIG baremetal unprovision_timeout 300
511
+        iniset $TEMPEST_CONFIG baremetal unprovision_timeout $BUILD_TIMEOUT
512
+        iniset $TEMPEST_CONFIG baremetal active_timeout $BUILD_TIMEOUT
512 513
         iniset $TEMPEST_CONFIG baremetal deploy_img_dir $FILES
513 514
         iniset $TEMPEST_CONFIG baremetal node_uuid $IRONIC_NODE_UUID
514 515
         iniset $TEMPEST_CONFIG compute-feature-enabled change_password False