From 1f5ee536bf4b2993f8beca4d47d5525d2f9627e5 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Thu, 16 Dec 2021 12:59:26 +0100 Subject: [PATCH] Run sanity test cases in gate workflow Change-Id: I99786d5bc8206eeb76644b35caa3e293efcd42e1 --- roles/tobiko-run/vars/test-workflow-gate.yaml | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/roles/tobiko-run/vars/test-workflow-gate.yaml b/roles/tobiko-run/vars/test-workflow-gate.yaml index 6672ce763..8d3d0ea57 100644 --- a/roles/tobiko-run/vars/test-workflow-gate.yaml +++ b/roles/tobiko-run/vars/test-workflow-gate.yaml @@ -4,33 +4,37 @@ test_workflow_steps: - tox_description: 'run unit test cases' tox_envlist: py3 tox_step_name: unit - tox_environment: - TOX_RERUNS: 0 - tox_description: 'run functional test cases' tox_envlist: functional tox_step_name: functional - tox_environment: - TOX_RERUNS: 2 - TOX_RERUNS_DELAY: 60 - tox_description: 'create workload resources' tox_envlist: scenario tox_step_name: create_resources tox_environment: - TOX_RERUNS: 2 - TOX_RERUNS_DELAY: 60 + TOBIKO_PREVENT_CREATE: no + + - tox_description: 'run sanity test cases before disruptive test cases' + tox_envlist: sanity + tox_step_name: before_faults + tox_environment: + TOBIKO_PREVENT_CREATE: no - tox_description: 'run disruptive test cases' tox_envlist: faults tox_step_name: faults tox_environment: - TOX_RERUNS: 0 + TOBIKO_PREVENT_CREATE: no + + - tox_description: 'run sanity test cases after disruptive test cases' + tox_envlist: sanity + tox_step_name: after_faults + tox_environment: + TOBIKO_PREVENT_CREATE: no - tox_description: 'verify workload resources' tox_envlist: scenario tox_step_name: verify_resources tox_environment: TOBIKO_PREVENT_CREATE: yes - TOX_RERUNS: 2 - TOX_RERUNS_DELAY: 60