Ahmed Hussein created HDFS-15678: ------------------------------------ Summary: TestDFSOutputStream#testCloseTwice implementation is broken Key: HDFS-15678 URL: https://issues.apache.org/jira/browse/HDFS-15678 Project: Hadoop HDFS Issue Type: Bug Components: dfs Reporter: Ahmed Hussein Assignee: Ahmed Hussein
[~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