From a8b3c9754299d6f03fbed55e1732803ef031757c Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Fri, 28 Sep 2018 10:29:26 -0500 Subject: [PATCH] RI-495 Fix tempest tests to run on Queens upgrade Removes all tempest settings from various files and centralize them into user_rpco_tempest.yml for gating purposes. Also whitelists basic tests to run. --- tests/run-tempest.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tests/run-tempest.sh b/tests/run-tempest.sh index 21707919..ef20a013 100755 --- a/tests/run-tempest.sh +++ b/tests/run-tempest.sh @@ -18,6 +18,31 @@ set -evu +# remove tempest settings from openstack_deploy variable files +if [ -f /etc/openstack_deploy/user_variables.yml ]; then + sed -i '/^tempest/d' /etc/openstack_deploy/user_variables.yml +fi +if [ -f /etc/openstack_deploy/user_rpco_variables_overrides.yml ]; then + sed -i '/^tempest/d' /etc/openstack_deploy/user_rpco_variables_overrides.yml +fi + +# generate tempest tests +cat > /etc/openstack_deploy/user_rpco_tempest.yml <