ayushtkn commented on code in PR #8770:
URL: https://github.com/apache/ozone/pull/8770#discussion_r2200692838
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java:
##########
@@ -203,7 +203,8 @@ public void testDatanodeUsageInfoContainerCount() throws
Exception {
dn.getIpAddress(), dn.getUuidString());
assertEquals(1, usageInfoList.size());
- assertEquals(expected, usageInfoList.get(0).getContainerCount());
+ assertThat(usageInfoList.get(0).getContainerCount())
+ .isGreaterThanOrEqualTo(expected);
Review Comment:
is it due to some datanode having outdated information, which gets updated
later before the assertion kicks in? In that case can something like
GenericTestUtils.waitFor or some util which triggers datanode to update the
info work?
--
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]