meteorgan opened a new issue, #5143: URL: https://github.com/apache/opendal/issues/5143
### Feature Description delete all test files permanently after running tests ### Problem and Solution ### Current behaviors 1. some test files are generated by `TEST_FIXTURE`, they gets deleted automatically after running the tests. such as: https://github.com/apache/opendal/blob/d479ac39efa9a88e10448ad81e47292b3b4ed688/core/tests/behavior/async_write.rs#L71 2. some test files are generated during test cases and are manually removed before the test cases finish. such as: https://github.com/apache/opendal/blob/d479ac39efa9a88e10448ad81e47292b3b4ed688/core/tests/behavior/async_write.rs#L143 ### Problems There are some cases where the test files might not be permanently deleted, which could lead to increased storage usage in backend services. 1. In the first scenario, when `versioning` is enabled, even if we delete the test files after running the tests, they still remain due to `versioning`. To remove them permanently, we must use a delete operation that specifies the version. 2. In the second scenario, if the test cases fail, the cleanup process will not be executed, leaving the test files behind. ### Additional Context _No response_ ### Are you willing to contribute to the development of this feature? - [ ] Yes, I am willing to contribute to the development of this feature. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org