You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ashishkumar50 (via GitHub)" <gi...@apache.org> on 2025/12/02 06:44:16 UTC
Re: [PR] HDDS-13981. DN quickly reregister to SCM [ozone]
ashishkumar50 commented on code in PR #9351:
URL: https://github.com/apache/ozone/pull/9351#discussion_r2579827535
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/volume/TestDatanodeHddsVolumeFailureDetection.java:
##########
@@ -156,7 +156,8 @@ void corruptContainerFile(boolean schemaV3) throws Exception {
// refer to HddsVolume.check()
DatanodeTestUtils.simulateBadVolume(vol0);
- // close container to trigger checkVolumeAsync
+ // close container to trigger checkVolumeAsync after 2 seconds as minGap to check
+ Thread.sleep(2000);
Review Comment:
@sumitagrawl Could you please elaborate more on why 2sec sleep is required here? It can still lead to flaky in future if something else is changed. Instead we should we wait on certain condition to avoid flakiness also reduce the test time.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org