Skip to content

Commit 0f625af

Browse files
kstrenkovapablintino
authored andcommitted
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 218d7a9 commit 0f625af

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
@@ -117,6 +117,8 @@ cifmw_test_operator_tempest_config:
117117
{{ cifmw_test_operator_tempest_include_list | default('') }}
118118
excludeList: |
119119
{{ cifmw_test_operator_tempest_exclude_list | default('') }}
120+
expectedFailuresList: |
121+
{{ cifmw_test_operator_tempest_expected_failures_list | default('') }}
120122
concurrency: "{{ cifmw_test_operator_concurrency }}"
121123
externalPlugin: "{{ cifmw_test_operator_tempest_external_plugin | default([]) }}"
122124
extraRPMs: "{{ cifmw_test_operator_tempest_extra_rpms | default([]) }}"

0 commit comments

Comments
 (0)