Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
Mahesh Shetty authored and Mahesh Shetty committed Oct 21, 2024
1 parent 78e877a commit bde1cc3
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tests/functional/disaster-recovery/sc_arbiter/test_netsplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ def finalizer():
@pytest.mark.parametrize(
argnames="zones, duration",
argvalues=[
pytest.param(
constants.NETSPLIT_DATA_1_DATA_2,
30,
marks=[
pytest.mark.polarion_id("OCS-5069"),
pytest.mark.polarion_id("OCS-5071"),
],
),
# pytest.param(
# constants.NETSPLIT_DATA_1_DATA_2,
# 30,
# marks=[
# pytest.mark.polarion_id("OCS-5069"),
# pytest.mark.polarion_id("OCS-5071"),
# ],
# ),
pytest.param(
constants.NETSPLIT_ARBITER_DATA_1,
15,
Expand All @@ -118,7 +118,7 @@ def finalizer():
),
],
ids=[
"Data-1-Data-2",
# "Data-1-Data-2",
"Arbiter-Data-1",
"Arbiter-Data-1-and-Arbiter-Data-2",
"Arbiter-Data-1-and-Data-1-Data-2",
Expand Down Expand Up @@ -216,6 +216,8 @@ def test_netsplit(
logger.info(f"Ended netsplit at {end_time}")

# check vm data written before the failure for integrity
logger.info("Waiting for VM SSH connectivity!")
vm_obj.wait_for_ssh_connectivity()
md5sum_after = vm_obj.run_ssh_cmd(command="md5sum /file_1.txt")
assert (
md5sum_before == md5sum_after
Expand Down

0 comments on commit bde1cc3

Please sign in to comment.