From fb1c491d50ec89221ee7fdc14cce8dc15ccb083a Mon Sep 17 00:00:00 2001 From: Abel Navarro Date: Tue, 9 Jul 2019 02:54:37 +0200 Subject: [PATCH] Make Helm test timeouts configurable in multinode On some deployments the tests run on Neutron for multinode deployments exceed the current 15 minutes timeout. The timeout is now configurable through the OSH_TEST_TIMEOUT variable which can be passed from the yaml file. The default timeout remains 15 minutes. Change-Id: Ic5a1e9fd812e51ed51aef4de162b1c08d1c9a593 Signed-off-by: Abel Navarro --- tools/deployment/multinode/140-compute-kit.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/deployment/multinode/140-compute-kit.sh b/tools/deployment/multinode/140-compute-kit.sh index 065de2b00d..faeb83ab17 100755 --- a/tools/deployment/multinode/140-compute-kit.sh +++ b/tools/deployment/multinode/140-compute-kit.sh @@ -176,5 +176,7 @@ openstack network agent list # Delete the test pods if they still exist kubectl delete pods -l application=nova,release_group=nova,component=test --namespace=openstack --ignore-not-found kubectl delete pods -l application=neutron,release_group=neutron,component=test --namespace=openstack --ignore-not-found -helm test nova --timeout 900 -helm test neutron --timeout 900 + +timeout=${OSH_TEST_TIMEOUT:-900} +helm test nova --timeout $timeout +helm test neutron --timeout $timeout