You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "sarutak (via GitHub)" <gi...@apache.org> on 2023/08/08 20:29:38 UTC

[GitHub] [incubator-opendal] sarutak opened a new pull request, #2823: fix: Cleanup temporary files generated in tests automatically

sarutak opened a new pull request, #2823:
URL: https://github.com/apache/incubator-opendal/pull/2823

   As I mentioned at  #2822,  temporary files generated in tests are not deleted automatically.
   To fix this issue, this PR introduces `tempfile` crate.
   https://docs.rs/tempfile/latest/tempfile/index.html
   
   A temporary directory created using `tempfile` crate and files in the temporary directory will be automatically deleted when the corresponding `TempDir` object is dropped.
   
   This PR affects the tests in `bin/oli` and  confirmed all the tests passed with `cargo test --tests --package oli`


-- 
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-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo merged pull request #2823: fix: Cleanup temporary files generated in tests automatically

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #2823:
URL: https://github.com/apache/incubator-opendal/pull/2823


-- 
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-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org