You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2022/09/28 13:00:04 UTC

[jira] [Created] (HDDS-7268) EC: Fix tests for HealthCheck handlers of RM that use Replica Indexes for Ratis Containers

Siddhant Sangwan created HDDS-7268:
--------------------------------------

             Summary: EC: Fix tests for HealthCheck handlers of RM that use Replica Indexes for Ratis Containers
                 Key: HDDS-7268
                 URL: https://issues.apache.org/jira/browse/HDDS-7268
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: ECOfflineRecovery, SCM
            Reporter: Siddhant Sangwan
            Assignee: Siddhant Sangwan


Some tests such as TestClosedWithMismatchedReplicasHandler#testClosedHealthyRatisContainerReturnsFalse specify the Replica Index field for Ratis container replicas. This field is only meaningful for EC and should be removed.

{code}
    Set<ContainerReplica> containerReplicas =
        ReplicationTestUtil.createReplicas(containerInfo.containerID(),
            ContainerReplicaProto.State.CLOSED, 1, 2, 3);

{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org