sodonnel commented on a change in pull request #2617:
URL: https://github.com/apache/ozone/pull/2617#discussion_r703081610
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/node/TestDecommissionAndMaintenance.java
##########
@@ -185,43 +186,26 @@ public void testNodeWithOpenPipelineCanBeDecommissioned()
waitForContainerReplicas(container, 4);
// Stop the decommissioned DN
+ int dnIndex = cluster.getHddsDatanodeIndex(toDecommission);
cluster.shutdownHddsDatanode(toDecommission);
waitForDnToReachHealthState(toDecommission, DEAD);
// Now the decommissioned node is dead, we should have
// 3 replicas for the tracked container.
waitForContainerReplicas(container, 3);
- }
- @Test
- // After a SCM restart, it will have forgotten all the Operational states.
- // However the state will have been persisted on the DNs. Therefore on
initial
- // registration, the DN operationalState is the source of truth and SCM
should
- // be updated to reflect that.
- public void testDecommissionedStateReinstatedAfterSCMRestart()
Review comment:
Merged into `testDecommissioningNodesCompleteDecommissionOnSCMRestart`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]