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 <abel.navarro@gmail.com>
This commit is contained in:
parent
69d5c4c1e1
commit
fb1c491d50
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user