diff --git a/roles/tobiko-run/vars/test-workflow-check-resources-faults.yaml b/roles/tobiko-run/vars/test-workflow-check-resources-faults.yaml index cb2bbc2d9..b6488c4eb 100644 --- a/roles/tobiko-run/vars/test-workflow-check-resources-faults.yaml +++ b/roles/tobiko-run/vars/test-workflow-check-resources-faults.yaml @@ -22,3 +22,4 @@ test_workflow_steps: tox_step_name: verify_resources tox_environment: TOBIKO_PREVENT_CREATE: yes + pytest_addopts: "--skipregex='BackgroundProcessTest'" diff --git a/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml b/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml index b5e4e67d6..734928062 100644 --- a/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml +++ b/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml @@ -12,6 +12,7 @@ test_workflow_steps: tox_step_name: create_neutron_resources tox_environment: TOBIKO_PREVENT_CREATE: no + pytest_addopts: "--skipregex='BackgroundProcessTest'" - tox_description: 'run disruptive test cases (neutron)' tox_envlist: neutron_faults @@ -34,3 +35,4 @@ test_workflow_steps: tox_step_name: verify_neutron_resources tox_environment: TOBIKO_PREVENT_CREATE: yes + pytest_addopts: "--skipregex='BackgroundProcessTest'" diff --git a/roles/tobiko-run/vars/test-workflow-faults.yaml b/roles/tobiko-run/vars/test-workflow-faults.yaml index a9fa32156..5c2d2e345 100644 --- a/roles/tobiko-run/vars/test-workflow-faults.yaml +++ b/roles/tobiko-run/vars/test-workflow-faults.yaml @@ -12,6 +12,7 @@ test_workflow_steps: tox_step_name: create_resources tox_environment: TOBIKO_PREVENT_CREATE: no + pytest_addopts: "--skipregex='BackgroundProcessTest'" - tox_description: 'run disruptive test cases' tox_envlist: faults @@ -31,3 +32,4 @@ test_workflow_steps: tox_step_name: verify_resources tox_environment: TOBIKO_PREVENT_CREATE: yes + pytest_addopts: "--skipregex='BackgroundProcessTest'" diff --git a/roles/tobiko-run/vars/test-workflow-gate.yaml b/roles/tobiko-run/vars/test-workflow-gate.yaml index 9342f5e1c..816c4663a 100644 --- a/roles/tobiko-run/vars/test-workflow-gate.yaml +++ b/roles/tobiko-run/vars/test-workflow-gate.yaml @@ -7,6 +7,7 @@ test_workflow_steps: tox_environment: TOBIKO_PREVENT_CREATE: no test_flaky: true + pytest_addopts: "--skipregex='BackgroundProcessTest'" - tox_description: 'run sanity test cases before disruptive test cases' tox_envlist: sanity @@ -35,3 +36,4 @@ test_workflow_steps: tox_environment: TOBIKO_PREVENT_CREATE: yes test_flaky: true + pytest_addopts: "--skipregex='BackgroundProcessTest'"