steveloughran commented on code in PR #4431:
URL: https://github.com/apache/hadoop/pull/4431#discussion_r897690828
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java:
##########
@@ -123,7 +123,7 @@ public void testRequeueCall() throws Exception {
+ CommonConfigurationKeys.IPC_BACKOFF_ENABLE, true);
NameNodeAdapter.getRpcServer(nn).refreshCallQueue(configuration);
- assertEquals(1, NameNodeAdapter.getRpcServer(nn).getTotalRequests());
+ assertTrue(NameNodeAdapter.getRpcServer(nn).getTotalRequests() > 0);
Review Comment:
if you have an assertion where a useful message isn't autogenerated the way
assertequals does, afraid you will need to add a message *or* use assertJ to
describe the assert. sorry.
--
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]