Skip to content

Commit

Permalink
can't mark a fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorcary committed Sep 9, 2024
1 parent 898e4ca commit 249eadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api2/test_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)
Expand Down

0 comments on commit 249eadc

Please sign in to comment.