From 249eadc524dc681467a9063914440535bb04ca8e Mon Sep 17 00:00:00 2001 From: Logan Cary Date: Mon, 9 Sep 2024 10:40:12 -0400 Subject: [PATCH] can't mark a fixture --- tests/api2/test_alert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api2/test_alert.py b/tests/api2/test_alert.py index afa25406d56fa..bbe84df926943 100644 --- a/tests/api2/test_alert.py +++ b/tests/api2/test_alert.py @@ -21,7 +21,6 @@ def degraded_pool_gptid(): return gptid -@pytest.mark.timeout(120) @pytest.fixture(scope="module") def alert_id(degraded_pool_gptid): call("alert.process_alerts") @@ -42,6 +41,7 @@ def test_verify_the_pool_is_degraded(degraded_pool_gptid): assert disk_status == "DEGRADED" +@pytest.mark.timeout(120) def test_dismiss_alert(alert_id): call("alert.dismiss", alert_id) alert = get_alert_by_id(alert_id)