[
https://issues.apache.org/jira/browse/HDFS-11630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hanisha Koneru updated HDFS-11630:
----------------------------------
Attachment: HDFS-11630.001.patch
The test was waiting for the same amount of time as the DiskCheckTimeout value
before checking for callback. This created a possibility that the callback
actually happens after the check.
To avoid this, we need to wait longer than the timeout before checking for
callback.
Ran hundreds of iterations locally and they passed.
> TestThrottledAsyncCheckerTimeout fails intermittently in Jenkins builds
> -----------------------------------------------------------------------
>
> Key: HDFS-11630
> URL: https://issues.apache.org/jira/browse/HDFS-11630
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Attachments: HDFS-11630.001.patch
>
>
> TestThrottledAsyncCheckerTimeout#testDiskCheckTimeoutInvokesOneCallbackOnly
> fails intermittently in Jenkins builds.
> We need to wait for disk checker timeout to callback the
> FutureCallBack#onFailure.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]