zhtttylz commented on code in PR #7908:
URL: https://github.com/apache/hadoop/pull/7908#discussion_r2309055927
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestXAttrsWithHA.java:
##########
@@ -105,9 +107,9 @@ public void testXAttrsTrackedOnStandby() throws Exception {
cluster.transitionToActive(1);
Map<String, byte[]> xattrs = fs.getXAttrs(path);
- Assert.assertEquals(xattrs.size(), 2);
- Assert.assertArrayEquals(value1, xattrs.get(name1));
- Assert.assertArrayEquals(value2, xattrs.get(name2));
+ Assertions.assertEquals(xattrs.size(), 2);
Review Comment:
Thank you for the review. I’ll roll out the updates soon.
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestXAttrsWithHA.java:
##########
@@ -105,9 +107,9 @@ public void testXAttrsTrackedOnStandby() throws Exception {
cluster.transitionToActive(1);
Map<String, byte[]> xattrs = fs.getXAttrs(path);
- Assert.assertEquals(xattrs.size(), 2);
- Assert.assertArrayEquals(value1, xattrs.get(name1));
- Assert.assertArrayEquals(value2, xattrs.get(name2));
+ Assertions.assertEquals(xattrs.size(), 2);
Review Comment:
Thank you for the review; I’ll roll the updates out shortly.
--
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]