Skip to content

Commit 924f1e8

Browse files
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.
1 parent 04d8383 commit 924f1e8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

roles/test_operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/
3535
* `cifmw_test_operator_tempest_image_tag`: (String) Tag for the `cifmw_test_operator_tempest_image`. Default value: `current-podified`
3636
* `cifmw_test_operator_tempest_include_list`: (String) List of tests to be executed. Setting this will not use the `list_allowed` plugin. Default value: `''`
3737
* `cifmw_test_operator_tempest_exclude_list`: (String) List of tests to be skipped. Setting this will not use the `list_skipped` plugin. Default value: `''`
38+
* `cifmw_test_operator_tempest_expected_failures_list`: (String) List of tests for which failures will be ignored. Default value: `''`
3839
* `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: `[]`
3940
* `cifmw_test_operator_tempest_tests_include_override_scenario`: (Boolean) Whether to override the scenario `cifmw_test_operator_tempest_include_list` definition. Default value: `false`
4041
* `cifmw_test_operator_tempest_tests_exclude_override_scenario`: (Boolean) Whether to override the scenario `cifmw_test_operator_tempest_exclude_list` definition. Default value: `false`

roles/test_operator/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ cifmw_test_operator_tempest_config:
120120
{{ cifmw_test_operator_tempest_include_list | default('') }}
121121
excludeList: |
122122
{{ cifmw_test_operator_tempest_exclude_list | default('') }}
123+
expectedFailuresList: |
124+
{{ cifmw_test_operator_tempest_expected_failures_list | default('') }}
123125
concurrency: "{{ cifmw_test_operator_concurrency }}"
124126
externalPlugin: "{{ cifmw_test_operator_tempest_external_plugin | default([]) }}"
125127
extraRPMs: "{{ cifmw_test_operator_tempest_extra_rpms | default([]) }}"

0 commit comments

Comments
 (0)