Skip to content

Commit

Permalink
Make smoke tests as a default whitelist tests
Browse files Browse the repository at this point in the history
Tempest tests with tag 'smoke' are a default list of tempest
tests which are quite useful for doing the sanity of the system.
By adding this as a default in tempest_test_whitelist, would be
easier for the same.

Depends-On: https://review.opendev.org/#/c/693841/

Change-Id: I50777211012ac07f5db95f10d4bfdfe39d8c77db
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
  • Loading branch information
chkumar246 committed Nov 13, 2019
1 parent 657a13f commit 6116c68
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions defaults/main.yml
Expand Up @@ -83,20 +83,9 @@ tempest_test_blacklist_file_path: "{{ tempest_workspace }}/etc/tempest_blacklist
# This sets up a list of tests to execute based on what's deployed in the environment.
# The list gets added to the whitelist which tempest executes.
tempest_test_whitelist:
- "{{ (ansible_pkg_mgr == 'apt' and tempest_install_method == 'distro') |
ternary('(?!.*\\.test_list_all_implied_roles)', '') ~ 'tempest.api.identity.admin.v3' }}"
- "tempest.api.identity.v3"
- "smoke"
- "{{ (tempest_service_available_ceilometer | bool) | ternary('tempest.api.telemetry', '') }}"
- "{{ (tempest_service_available_heat | bool) | ternary('tempest.api.orchestration.stacks.test_non_empty_stack', '') }}"
# TODO(odyssey4me):
# Once the issue with this test is worked out, re-enable it.
#- "{{ (tempest_service_available_nova | bool) | ternary('tempest.scenario.test_minimum_basic', '') }}"
- "{{ (tempest_service_available_nova | bool) | ternary('tempest.scenario.test_server_basic_ops', '') }}"
- "{{ (tempest_service_available_swift | bool) | ternary('tempest.scenario.test_object_storage_basic_ops', '') }}"
- "{{ (tempest_volume_multi_backend_enabled | bool) | ternary('tempest.api.volume.admin.test_multi_backend', '') }}"
# TODO(evrardjp): Bring this back when upstream is fixed
# (revert of https://github.com/openstack/cinder/commit/737c50b4ea54e2e63d6e3fe8a73d22b393df4205)
# - "{{ (tempest_volume_backup_enabled | bool) | ternary('tempest.api.volume.admin.test_volumes_backup', '') }}"

# Tests being skipped by os_tempest
# Example:
Expand Down

0 comments on commit 6116c68

Please sign in to comment.