From 2bcc39516b28d828f51eec67a334b32084d88937 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 5 Jul 2020 11:34:58 +0200 Subject: Reduce Patrole extra logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It also reduces the skipped test list taking into account Patrole improvements. Change-Id: I23a8c0610a8a4258aa806451f52796f3e7bc46ca Signed-off-by: Cédric Ollivier --- docker/smoke/testcases.yaml | 63 +++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 42 deletions(-) (limited to 'docker') diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index 5fe6f2e5e..5e6a8d93d 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -216,20 +216,13 @@ tiers: run: name: patrole args: - role: 'admin' - includes: - - 'image' - - 'network' - excludes: - - 'network.test_flavors_rbac' - - 'network.test_network_ip_availability_rbac' - - 'test_networks_multiprovider_rbac' - - 'test_auto_allocated_topology_rbac' - - 'test_create_network_provider_segmentation_id' - - 'test_update_network_provider_physical_network' - - 'test_update_network_provider_segmentation_id' - - 'network.test_agents_rbac' - - 'test_list_metadef_namespaces' + roles: 'admin' + mode: "(?!.*test_unmanage_snapshot_rbac)\ + (?!.*test_delete_auto_allocated_topology)\ + (?=.*[.*\bslow\b.*])\ + (^patrole_tempest_plugin.tests.api.(image|network|volume))" + option: + - '--concurrency=4' - case_name: patrole_member @@ -241,20 +234,13 @@ tiers: run: name: patrole args: - role: 'member' - includes: - - 'image' - - 'network' - excludes: - - 'network.test_flavors_rbac' - - 'network.test_network_ip_availability_rbac' - - 'test_networks_multiprovider_rbac' - - 'test_auto_allocated_topology_rbac' - - 'test_create_network_provider_segmentation_id' - - 'test_update_network_provider_physical_network' - - 'test_update_network_provider_segmentation_id' - - 'network.test_agents_rbac' - - 'test_list_metadef_namespaces' + roles: 'member' + mode: "(?!.*test_unmanage_snapshot_rbac)\ + (?!.*test_delete_auto_allocated_topology)\ + (?=.*[.*\bslow\b.*])\ + (^patrole_tempest_plugin.tests.api.(image|network|volume))" + option: + - '--concurrency=4' - case_name: patrole_reader @@ -266,20 +252,13 @@ tiers: run: name: patrole args: - role: 'reader' - includes: - - 'image' - - 'network' - excludes: - - 'network.test_flavors_rbac' - - 'network.test_network_ip_availability_rbac' - - 'test_networks_multiprovider_rbac' - - 'test_auto_allocated_topology_rbac' - - 'test_create_network_provider_segmentation_id' - - 'test_update_network_provider_physical_network' - - 'test_update_network_provider_segmentation_id' - - 'network.test_agents_rbac' - - 'test_list_metadef_namespaces' + roles: 'reader' + mode: "(?!.*test_unmanage_snapshot_rbac)\ + (?!.*test_delete_auto_allocated_topology)\ + (?=.*[.*\bslow\b.*])\ + (^patrole_tempest_plugin.tests.api.(image|network|volume))" + option: + - '--concurrency=4' - case_name: tempest_barbican -- cgit 1.2.3-korg