summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-02-12 17:44:54 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2019-02-13 08:22:17 -0500
commite209fc5ed0d5ecffbe1db0d5f0706c7a6b9d4eb4 (patch)
tree1a7174c3b39008cee1e2ff4dd6ef87d044d2c29c /playbooks
parentc92681aab1b702bffe96464a7ee50e1e0f7081f2 (diff)
downloadnova-e209fc5ed0d5ecffbe1db0d5f0706c7a6b9d4eb4.tar.gz
Change nova-next tempest test regex
Before this change, nova-next ran the same tests as the tempest-full job which was all non-slow API and scenario tests. To avoid running redundant tests on the same nova change, this patch changes the tempest run regex to run only compute API tests along with all scenario tests and includes slow tests (by not excluding them like tempest-full does). By removing the non-compute API tests we should still be able to keep this job running in a reasonable time even though the slow tests are added. As discussed in https://review.openstack.org/606978/, test_volume_swap_with_multiattach will be run again with this change since it otherwise won't run in tempest-slow since that is a multi-node job and the test was blocked from running in multi-node jobs until bug 1807723 is fixed. In other words, this gives us volume multi-attach testing of swap volumes again since nova-next is a single-node job. Change-Id: Icbc06849dfcc9f41c7aaf7de109e036a993de7c7
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/nova-next/run.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/playbooks/legacy/nova-next/run.yaml b/playbooks/legacy/nova-next/run.yaml
index 4f4847848e..8c3e7dd449 100644
--- a/playbooks/legacy/nova-next/run.yaml
+++ b/playbooks/legacy/nova-next/run.yaml
@@ -40,6 +40,7 @@
NOVA_USE_SERVICE_TOKEN=True
NOVA_CONSOLE_PROXY_COMPUTE_TLS=True
USE_PYTHON3=True
+ ENABLE_VOLUME_MULTIATTACH=True
[[post-config|$NOVA_CONF]]
[compute]
@@ -59,9 +60,9 @@
export PYTHONUNBUFFERED=true
# Yes we want to run Tempest.
export DEVSTACK_GATE_TEMPEST=1
- # Run non-slow tempest API tests (concurrently) and scenario
- # tests (serially).
- export DEVSTACK_GATE_TEMPEST_FULL=1
+ # Run all compute API tests and all scenario tests at the default
+ # concurrency (nproc/2 which is normally 4 in the gate).
+ export DEVSTACK_GATE_TEMPEST_REGEX="^tempest\.((scenario)|(api\.compute))"
# The post_test_hook runs some post-test CLIs for things that
# Tempest does not test, like archiving deleted records.
function post_test_hook {