[ 
https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated HDFS-4391:
------------------------------

    Attachment: hdfs-4391-1.patch

Fix attached. When {{testKeepaliveTimeouts()}} runs after a file is read by 
another test, the cache gets populated and the initial assert fails.

Fix is to reset the cache for every test.
                
> TestDataTransferKeepalive fails when tests are executed in a certain order.
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-4391
>                 URL: https://issues.apache.org/jira/browse/HDFS-4391
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Konstantin Shvachko
>            Assignee: Andrew Wang
>         Attachments: hdfs-4391-1.patch
>
>
> TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER 
> testManyClosedSocketsInCache().

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

Reply via email to