Skip to content

Commit

Permalink
deprecated added to test names 0.1 (#10872)
Browse files Browse the repository at this point in the history
* deprecated added to test names 0.1

Signed-off-by: Daniel Osypenko <[email protected]>

* deprecated-prefix-added-0.2

Signed-off-by: Daniel Osypenko <[email protected]>

---------

Signed-off-by: Daniel Osypenko <[email protected]>
  • Loading branch information
DanielOsypenko authored Nov 27, 2024
1 parent 66bdeb5 commit 45a3862
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/functional/monitoring/pagerduty/alerts/test_ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@managed_service_required
@skipif_ms_consumer
@pytest.mark.polarion_id("OCS-2771")
def test_corrupt_pg_pd(measure_corrupt_pg):
def deprecated_test_corrupt_pg_pd(measure_corrupt_pg):
"""
Test that there is appropriate incident in PagerDuty when Placement group
on one OSD is corrupted and that this incident is cleared when the corrupted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@runs_on_provider
@bugzilla("2033284")
@pytest.mark.polarion_id("OCS-2766")
def test_ceph_manager_stopped_pd(measure_stop_ceph_mgr):
def deprecated_test_ceph_manager_stopped_pd(measure_stop_ceph_mgr):
"""
Test that there is appropriate incident in PagerDuty when ceph manager
is unavailable and that this incident is cleared when the manager
Expand Down Expand Up @@ -59,7 +59,7 @@ def test_ceph_manager_stopped_pd(measure_stop_ceph_mgr):
@managed_service_required
@runs_on_provider
@pytest.mark.polarion_id("OCS-2769")
def test_ceph_osd_stopped_pd(measure_stop_ceph_osd):
def deprecated_test_ceph_osd_stopped_pd(measure_stop_ceph_osd):
"""
Test that there are appropriate incidents in PagerDuty when ceph osd
is unavailable and that these incidents are cleared when the osd
Expand Down Expand Up @@ -101,7 +101,7 @@ def test_ceph_osd_stopped_pd(measure_stop_ceph_osd):
@bugzilla("2072612")
@pytest.mark.polarion_id("OCS-2770")
@pytest.mark.skip(reason="Shutting down 2 nodes at the same time is not supported")
def test_stop_worker_nodes_pd(measure_stop_worker_nodes):
def depricated_test_stop_worker_nodes_pd(measure_stop_worker_nodes):
"""
Test that there are appropriate incidents in PagerDuty when two worker
nodes are unavailable and that these incidents are cleared when those nodes
Expand Down Expand Up @@ -134,7 +134,7 @@ def test_stop_worker_nodes_pd(measure_stop_worker_nodes):
@managed_service_required
@runs_on_provider
@pytest.mark.polarion_id("OCS-3716")
def test_ceph_monitor_stopped_pd(measure_stop_ceph_mon):
def deprecated_test_ceph_monitor_stopped_pd(measure_stop_ceph_mon):
"""
Test that there are appropriate incidents in PagerDuty when ceph monitor
is unavailable and that these incidents are cleared when the monitor
Expand Down Expand Up @@ -175,7 +175,7 @@ def test_ceph_monitor_stopped_pd(measure_stop_ceph_mon):
@bugzilla("2076670")
@pytest.mark.polarion_id("OCS-3717")
@pytest.mark.parametrize("create_mon_quorum_loss", [True])
def test_ceph_mons_quorum_lost_pd(measure_stop_ceph_mon):
def deprecated_test_ceph_mons_quorum_lost_pd(measure_stop_ceph_mon):
"""
Test that there are appropriate incidents in PagerDuty when ceph monitors
except one are unavailable and that these incidents are cleared when the
Expand Down
4 changes: 3 additions & 1 deletion tests/functional/monitoring/prometheus/alerts/test_ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def test_corrupt_pg_alerts(measure_corrupt_pg, threading_lock):
@pytest.mark.polarion_id("OCS-898")
@skipif_managed_service
@runs_on_provider
def test_ceph_health(measure_stop_ceph_osd, measure_corrupt_pg, threading_lock):
def deprecated_test_ceph_health(
measure_stop_ceph_osd, measure_corrupt_pg, threading_lock
):
"""
Test that there are appropriate alerts for Ceph health triggered.
For this check of Ceph Warning state is used measure_stop_ceph_osd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@tier2
@managed_service_required
@skipif_ms_provider
def test_capacity_workload_alerts(
def deprecated_test_capacity_workload_alerts(
notification_emails_required, workload_storageutilization_97p_rbd
):
"""
Expand Down

0 comments on commit 45a3862

Please sign in to comment.