From 515c27033666fd53aeee56b1b0f32cf36491214b 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 7582f9b26f..afc0e6c1eb 100644 --- a/roles/test_operator/defaults/main.yml +++ b/roles/test_operator/defaults/main.yml @@ -120,6 +120,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([]) }}"