Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is blocked by
-
HDFS-15679 DFSOutputStream close should be a no-op when called multiple times
- Resolved
- is superceded by
-
HDFS-15679 DFSOutputStream close should be a no-op when called multiple times
- Resolved