[ https://issues.apache.org/jira/browse/HDFS-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-4745: -------------------------------- Attachment: HDFS-4745.1.patch This patch introduces a polling loop before asserting that there are 0 xceivers, allowing for up to 5 seconds slack time. With this patch, the test passes consistently for me on any platform. > TestDataTransferKeepalive#testSlowReader has race condition that causes > sporadic failure > ---------------------------------------------------------------------------------------- > > Key: HDFS-4745 > URL: https://issues.apache.org/jira/browse/HDFS-4745 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0 > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-4745.1.patch > > > The test asserts that the xceiver thread has stopped after timeout due to a > slow reader, but the test's sleep time is too short, and the xceiver is often > still running. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira