devmadhuu commented on code in PR #5647:
URL: https://github.com/apache/ozone/pull/5647#discussion_r1403274441


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/recon/TestReconInsightsForDeletedDirectories.java:
##########
@@ -467,6 +463,7 @@ private void assertTableRowCount(Table<String, ?> table, 
int expectedCount,
 
   private boolean assertTableRowCount(int expectedCount,
                                       Table<String, ?> table, boolean isRecon) 
{
+    syncDataFromOM();

Review Comment:
   No that's not the correct way. Try to use per test case and use it only 
where you feel the assert could be flaky. This call of syncOMDB is a costly 
operation.



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