Mark tests as smoke
Rework marking tests as smoke, so not every test
create a loadbalancer.
* test_load_balancer_ipv4_create
* test_flavor_create
* test_flavor_profile_create
* test_provider_list
Related-PROD: PRODX-5296
Change-Id: Ib4c1b430db2eb742813a8890ea6bb99bddfc4eec
(cherry picked from commit 0a038040ac9c696947c9429b014d73047aa50e9e)
(cherry picked from commit d12285c8a92a7e8cb57a211cdb9b8f15b2f33394)
diff --git a/octavia_tempest_plugin/tests/api/v2/test_flavor.py b/octavia_tempest_plugin/tests/api/v2/test_flavor.py
index be3ac76..4dd896c 100644
--- a/octavia_tempest_plugin/tests/api/v2/test_flavor.py
+++ b/octavia_tempest_plugin/tests/api/v2/test_flavor.py
@@ -63,6 +63,7 @@
cls.flavor_profile_id = cls.flavor_profile[const.ID]
@decorators.idempotent_id('7e8f39ce-53e0-4364-8778-6da9b9a59e5a')
+ @decorators.attr(type='smoke')
def test_flavor_create(self):
"""Tests flavor create and basic show APIs.
diff --git a/octavia_tempest_plugin/tests/api/v2/test_flavor_profile.py b/octavia_tempest_plugin/tests/api/v2/test_flavor_profile.py
index 3bd6e54..c936922 100644
--- a/octavia_tempest_plugin/tests/api/v2/test_flavor_profile.py
+++ b/octavia_tempest_plugin/tests/api/v2/test_flavor_profile.py
@@ -32,6 +32,7 @@
"""Test the flavor profile object API."""
@decorators.idempotent_id('d0e3a08e-d58a-4460-83ed-34307ca04cde')
+ @decorators.attr(type='smoke')
def test_flavor_profile_create(self):
"""Tests flavor profile create and basic show APIs.
diff --git a/octavia_tempest_plugin/tests/api/v2/test_load_balancer.py b/octavia_tempest_plugin/tests/api/v2/test_load_balancer.py
index b4dde1f..66b24dd 100644
--- a/octavia_tempest_plugin/tests/api/v2/test_load_balancer.py
+++ b/octavia_tempest_plugin/tests/api/v2/test_load_balancer.py
@@ -37,6 +37,7 @@
# Note: This test also covers basic load balancer show API
@decorators.idempotent_id('61c6343c-a5d2-4b9f-8c7d-34ea83f0596b')
+ @decorators.attr(type='smoke')
def test_load_balancer_ipv4_create(self):
self._test_load_balancer_create(4)
diff --git a/octavia_tempest_plugin/tests/api/v2/test_provider.py b/octavia_tempest_plugin/tests/api/v2/test_provider.py
index 917b365..6840d2f 100644
--- a/octavia_tempest_plugin/tests/api/v2/test_provider.py
+++ b/octavia_tempest_plugin/tests/api/v2/test_provider.py
@@ -28,6 +28,7 @@
"""Test the provider object API."""
@decorators.idempotent_id('8b94e0cc-a24d-4c29-bc8e-53f58214dc67')
+ @decorators.attr(type='smoke')
def test_provider_list(self):
"""Tests provider list API and field filtering.