[ https://issues.apache.org/jira/browse/HDFS-15678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ahmed Hussein resolved HDFS-15678. ---------------------------------- Resolution: Won't Fix Closing this jira as I implemented the fix as part of HDFS-15679 > TestDFSOutputStream#testCloseTwice implementation is broken > ----------------------------------------------------------- > > Key: HDFS-15678 > URL: https://issues.apache.org/jira/browse/HDFS-15678 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: dfs > Reporter: Ahmed Hussein > Assignee: Ahmed Hussein > Priority: Major > > [~daryn] noticed that the test {{TestDFSOutputStream#testCloseTwice}} was > "cheating" by relying on incorrect behavior to pass. It closes a stream, > injects an exception into the stream, closes and verifies injected exception > is thrown, closes again and verifies no exception. The problem is a closed > stream must never throw again so the injection should be a no-op. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org