Skip to content

Commit

Permalink
Add polarion ids
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
mashetty330 committed Jul 30, 2024
1 parent 53a05bc commit 13139bc
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 6 deletions.
37 changes: 33 additions & 4 deletions tests/functional/disaster-recovery/sc_arbiter/test_netsplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,38 @@ def finalizer():
@pytest.mark.parametrize(
argnames="zones, duration",
argvalues=[
pytest.param(constants.NETSPLIT_DATA_1_DATA_2, 15),
pytest.param(constants.NETSPLIT_ARBITER_DATA_1, 15),
pytest.param(constants.NETSPLIT_ARBITER_DATA_1_AND_ARBITER_DATA_2, 15),
pytest.param(constants.NETSPLIT_ARBITER_DATA_1_AND_DATA_1_DATA_2, 15),
pytest.param(
constants.NETSPLIT_DATA_1_DATA_2,
15,
marks=[
pytest.mark.polarion_id("OCS-5069"),
pytest.mark.polarion_id("OCS-5071"),
],
),
pytest.param(
constants.NETSPLIT_ARBITER_DATA_1,
15,
marks=[
pytest.mark.polarion_id("OCS-5072"),
pytest.mark.polarion_id("OCS-5074"),
],
),
pytest.param(
constants.NETSPLIT_ARBITER_DATA_1_AND_ARBITER_DATA_2,
15,
marks=[
pytest.mark.polarion_id("OCS-5083"),
pytest.mark.polarion_id("OCS-5085"),
],
),
pytest.param(
constants.NETSPLIT_ARBITER_DATA_1_AND_DATA_1_DATA_2,
15,
marks=[
pytest.mark.polarion_id("OCS-5077"),
pytest.mark.polarion_id("OCS-5079"),
],
),
],
ids=[
"Data-1-Data-2",
Expand All @@ -75,6 +103,7 @@ def finalizer():
"Arbiter-Data-1-and-Data-1-Data-2",
],
)
@pytest.mark.polarion_id("OCS-5850")
def test_netsplit(
self,
setup_logwriter_cephfs_workload_factory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,15 @@ def finalizer():
pytest.mark.polarion_id("OCS-5088"),
],
),
pytest.param(1, True, 5, marks=[pytest.mark.polarion_id("OCS-5064")]),
pytest.param(
1,
True,
5,
marks=[
pytest.mark.polarion_id("OCS-5064"),
pytest.mark.polarion_id("OCS-5850"),
],
),
],
ids=[
"Normal-Shutdown",
Expand Down Expand Up @@ -370,7 +378,14 @@ def test_zone_shutdowns(
@pytest.mark.parametrize(
argnames="iteration, delay",
argvalues=[
pytest.param(1, 5, marks=[pytest.mark.polarion_id("OCS-5062")]),
pytest.param(
1,
5,
marks=[
pytest.mark.polarion_id("OCS-5062"),
pytest.mark.polarion_id("OCS-5850"),
],
),
],
)
def test_zone_crashes(
Expand Down

0 comments on commit 13139bc

Please sign in to comment.