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
mashetty330 committed Nov 22, 2023
1 parent 60a3405 commit 4ae4c42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions ocs_ci/ocs/resources/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,16 +939,6 @@ def get_noobaa_endpoint_pods():
return noobaa_endpoint_pods


def get_noobaa_db_pod():

noobaa_db = get_pods_having_label(
label=constants.NOOBAA_DB_LABEL_47_AND_ABOVE,
namespace=config.ENV_DATA["cluster_namespace"],
)
nb_db_pods = [Pod(**pod) for pod in noobaa_db]
return nb_db_pods[0]


def get_odf_operator_controller_manager(
ocs_label=constants.ODF_OPERATOR_CONTROL_MANAGER_LABEL, namespace=None
):
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
from ocs_ci.ocs.ocp import OCP
from ocs_ci.ocs.resources import pvc
from ocs_ci.ocs.resources.bucket_policy import gen_bucket_policy
from ocs_ci.ocs.resources.mcg_replication_policy import LogBasedReplicationPolicy
from ocs_ci.ocs.resources.mcg_replication_policy import AwsLogBasedReplicationPolicy
from ocs_ci.ocs.resources.mockup_bucket_logger import MockupBucketLogger
from ocs_ci.ocs.scale_lib import FioPodScale
from ocs_ci.ocs.utils import (
Expand Down Expand Up @@ -7003,7 +7003,7 @@ def factory(bucketclass_dict=None):
platform=constants.AWS_PLATFORM,
region=constants.DEFAULT_AWS_REGION,
)
replication_policy = LogBasedReplicationPolicy(
replication_policy = AwsLogBasedReplicationPolicy(
destination_bucket=target_bucket.name,
sync_deletions=True,
logs_bucket=mockup_logger.logs_bucket_uls_name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def test_replication_with_disruptions(


@system_test
@magenta_squad
@skipif_vsphere_ipi
class TestLogBasedReplicationWithDisruptions:
def test_log_based_replication_with_disruptions(
Expand Down

0 comments on commit 4ae4c42

Please sign in to comment.