[ https://issues.apache.org/jira/browse/HADOOP-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191816#comment-14191816 ]
jay vyas commented on HADOOP-11244: ----------------------------------- Hi [~ste...@apache.org] : Looks like this code, in your old repo, has the test: {noformat} git clone https://github.com/steveloughran/hadoop-trunk.git git checkout remotes/origin/old/HADOOP-9361-filesystem-contract vim hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/contract/hdfs/TestHDFSContractAppend.java {noformat} I don't see it anywhere else though ? > The HCFS contract test testRenameFileBeingAppended doesn't do a rename > ---------------------------------------------------------------------- > > Key: HADOOP-11244 > URL: https://issues.apache.org/jira/browse/HADOOP-11244 > Project: Hadoop Common > Issue Type: Bug > Components: test > Reporter: Noah Watkins > Assignee: jay vyas > Fix For: 2.6.0 > > Attachments: HADOOP-11244.patch, HADOOP-11244.patch > > > The test AbstractContractAppendTest::testRenameFileBeingAppended appears to > assert the behavior of renaming a file opened for writing. However, the > assertion "assertPathExists("renamed destination file does not exist", > renamed);" fails because it appears that the file "renamed" is never created > (ostensibly it should be the "target" file that has been renamed). -- This message was sent by Atlassian JIRA (v6.3.4#6332)