From 4253cb0fd27321e3c335ce9cd06614a27f14ba7d Mon Sep 17 00:00:00 2001 From: Tetsuro Nakamura Date: Wed, 11 Jul 2018 19:14:04 +0900 Subject: [PATCH] Set Tempest concurrency to one We are going to add API tests using Gabbi to the blazar-tempest-plugin. But if the Gabbi tests are executed by different workers, their order gets violated. This patch changes Tempest concurrency to 1 to ensure the Gabbi tests are executed in the order specified in the YAML file. This can increase test execution time, but it should be negligible. Change-Id: Id4dc3cc8640e8f902f96130a85e50008b5e8b96d --- playbooks/legacy/blazar-devstack-dsvm-py35/run.yaml | 1 + playbooks/legacy/blazar-devstack-dsvm/run.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/playbooks/legacy/blazar-devstack-dsvm-py35/run.yaml b/playbooks/legacy/blazar-devstack-dsvm-py35/run.yaml index 9f529b2f..6d0b78dd 100644 --- a/playbooks/legacy/blazar-devstack-dsvm-py35/run.yaml +++ b/playbooks/legacy/blazar-devstack-dsvm-py35/run.yaml @@ -57,6 +57,7 @@ export PROJECTS="openstack/python-blazarclient $PROJECTS" export PROJECTS="openstack/blazar-tempest-plugin $PROJECTS" export DEVSTACK_GATE_TEMPEST_REGEX="blazar_tempest_plugin" + export TEMPEST_CONCURRENCY=1 cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh executable: /bin/bash diff --git a/playbooks/legacy/blazar-devstack-dsvm/run.yaml b/playbooks/legacy/blazar-devstack-dsvm/run.yaml index 1e9c0271..8a0c3a09 100644 --- a/playbooks/legacy/blazar-devstack-dsvm/run.yaml +++ b/playbooks/legacy/blazar-devstack-dsvm/run.yaml @@ -49,6 +49,7 @@ export PROJECTS="openstack/python-blazarclient $PROJECTS" export PROJECTS="openstack/blazar-tempest-plugin $PROJECTS" export DEVSTACK_GATE_TEMPEST_REGEX="blazar_tempest_plugin" + export TEMPEST_CONCURRENCY=1 cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh executable: /bin/bash