zhtttylz commented on code in PR #7841:
URL: https://github.com/apache/hadoop/pull/7841#discussion_r2246768594


##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/InternalDataNodeTestUtils.java:
##########
@@ -172,8 +172,8 @@ public DatanodeRegistration answer(InvocationOnMock 
invocation)
       @Override
       DatanodeProtocolClientSideTranslatorPB connectToNN(
           InetSocketAddress nnAddr) throws IOException {
-        Assert.assertEquals(nnSocketAddr, nnAddr);
-        return namenode;
+            Assertions.assertEquals(nnSocketAddr, nnAddr);

Review Comment:
   Thanks a lot for your review—I'll update the code right away!



-- 
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]

Reply via email to