adoroszlai commented on code in PR #5935:
URL: https://github.com/apache/ozone/pull/5935#discussion_r1445081816
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestSCMNodeManagerMXBean.java:
##########
@@ -98,7 +98,7 @@ public void testNodeCount() throws Exception {
Map<String, Map<String, Integer>> mbeanMap = convertNodeCountToMap(data);
Map<String, Map<String, Integer>> nodeMap =
scm.getScmNodeManager().getNodeCount();
- assertTrue(nodeMap.equals(mbeanMap));
+ assertEquals(nodeMap, mbeanMap);
Review Comment:
I figured that `mbeanMap` is the one being verified here, since its a test
for `MXBean`.
--
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]