Skip to content

Commit

Permalink
fix up
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 Nov 13, 2024
1 parent 19289a6 commit 8606408
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
10 changes: 0 additions & 10 deletions ocs_ci/ocs/resources/stretchcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,6 @@ def check_for_read_pause(self, label, start_time, end_time):
max_fail_expected = len(self.workload_map[label][0]) - 2
failed = 0
for pod_obj in self.workload_map[label][0]:
# if get_pod_node(pod_obj).name in self.non_quorum_nodes:
# logger.info(
# f"Not checking the logs from {pod_obj.name} as it belongs to non-quorum zone"
# )
# continue
try:
pause_count = 0
time_var = start_time
Expand Down Expand Up @@ -256,11 +251,6 @@ def check_for_write_pause(self, label, start_time, end_time):
)
failed = 0
for pod_obj in self.workload_map[label][0]:
# if get_pod_node(pod_obj).name in self.non_quorum_nodes:
# logger.info(
# f"Not checking the logs from {pod_obj.name} as it belongs to non-quorum zone"
# )
# continue
no_such_file_expected = 1
for file_name in self.logfile_map[label][0]:
pause_count = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,6 @@ def test_netsplit(
)
logger.info(f"Netsplit induced at {start_time} for zones {zones}")

# get the nodes which are present in the
# out of quorum zone
# if (
# zones != constants.NETSPLIT_ARBITER_DATA_1
# and zones != constants.NETSPLIT_ARBITER_DATA_1_AND_ARBITER_DATA_2
# ):
# sc_obj.get_out_of_quorum_nodes()

# check for ceph accessibility and note the end time (UTC)
timeout = (end_time - datetime.now(timezone.utc)).total_seconds()
if not sc_obj.check_ceph_accessibility(timeout=timeout):
Expand Down

0 comments on commit 8606408

Please sign in to comment.