ArafatKhan2198 commented on code in PR #5782:
URL: https://github.com/apache/ozone/pull/5782#discussion_r1427962041
##########
hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/protocol/MockDatanodeDetails.java:
##########
@@ -118,11 +128,21 @@ public static DatanodeDetails randomLocalDatanodeDetails()
return createDatanodeDetails(UUID.randomUUID().toString(),
socket.getInetAddress().getHostName(),
socket.getInetAddress().getHostAddress(), null,
- socket.getLocalPort());
+ getFreePort());
Review Comment:
Done!
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/server/TestSecureContainerServer.java:
##########
@@ -340,4 +346,38 @@ private static String getToken(ContainerID containerID)
throws IOException {
containerTokenSecretManager.createIdentifier(username, containerID)
).encodeToUrlString();
}
+
+ private static void startServerWithRetry(XceiverServerSpi server,
Review Comment:
Done!
--
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]