Community
Participate
Working Groups
This came up to me while reviewing the fix for bug 332543. James modified WrapperFileSystem so it could fail when the file store stream is closed. However we already have BrokenFileSystem and BrokenFileStore which was created to emulate errors in file stores. BrokenFileStore fails in other cases too though. We could make BrokenFS more general, so it could be used in the James' test. Maybe other ideas?
Or alternatively implement BrokenFS in terms of WrapperFS. For regression tests it's useful to start from a working FS, introducing the suspect behaviour along with the test for handling the behaviour. [BrokenFS starts from the other position: most operations fail...]
Moving to 3.8. Szymon P., feel free to move it back to 3.7, if you have time to fix it.
I investigated this bug and the scope of work that would need to be done and I think the risk of corrupting existing tests it too big. Existing test file system implementations are tightly coupled with tests they were written for and changing them now could introduce unexpected bugs in tests. Closing as WONTFIX.