From bb1ed2a421d3490a9a4e89f2ec91b1fc4de604d1 Mon Sep 17 00:00:00 2001 From: Katarina Strenkova Date: Thu, 21 Nov 2024 09:41:25 -0500 Subject: [PATCH] Expose new parameter expectedFailuresList This change is needed for the introduction of new parameter expectedFailuresList to the test operator. The parameter will be used for ignoring results of specified tests that are expected to fail. --- roles/test_operator/README.md | 1 + roles/test_operator/defaults/main.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/roles/test_operator/README.md b/roles/test_operator/README.md index f2c14f022f..143e4db146 100644 --- a/roles/test_operator/README.md +++ b/roles/test_operator/README.md @@ -35,6 +35,7 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/ * `cifmw_test_operator_tempest_image_tag`: (String) Tag for the `cifmw_test_operator_tempest_image`. Default value: `current-podified` * `cifmw_test_operator_tempest_include_list`: (String) List of tests to be executed. Setting this will not use the `list_allowed` plugin. Default value: `''` * `cifmw_test_operator_tempest_exclude_list`: (String) List of tests to be skipped. Setting this will not use the `list_skipped` plugin. Default value: `''` +* `cifmw_test_operator_tempest_expected_failures_list`: (String) List of tests for which failures will be ignored. Default value: `''` * `cifmw_test_operator_tempest_external_plugin`: (List) List of dicts describing any external plugin to be installed. The dictionary contains a repository, changeRepository (optional) and changeRefspec (optional). Default value: `[]` * `cifmw_test_operator_tempest_tests_include_override_scenario`: (Boolean) Whether to override the scenario `cifmw_test_operator_tempest_include_list` definition. Default value: `false` * `cifmw_test_operator_tempest_tests_exclude_override_scenario`: (Boolean) Whether to override the scenario `cifmw_test_operator_tempest_exclude_list` definition. Default value: `false` diff --git a/roles/test_operator/defaults/main.yml b/roles/test_operator/defaults/main.yml index 2340cdab87..6f9a0837c6 100644 --- a/roles/test_operator/defaults/main.yml +++ b/roles/test_operator/defaults/main.yml @@ -117,6 +117,8 @@ cifmw_test_operator_tempest_config: {{ cifmw_test_operator_tempest_include_list | default('') }} excludeList: | {{ cifmw_test_operator_tempest_exclude_list | default('') }} + expectedFailuresList: | + {{ cifmw_test_operator_tempest_expected_failures_list | default('') }} concurrency: "{{ cifmw_test_operator_concurrency }}" externalPlugin: "{{ cifmw_test_operator_tempest_external_plugin | default([]) }}" extraRPMs: "{{ cifmw_test_operator_tempest_extra_rpms | default([]) }}"