Use tempdir
when testing static files, so temporary directories get dropped automatically
#6824
Labels
A-static-files
Related to static files
C-test
A change that impacts how or what we test
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
reth/testing/ef-tests/src/cases/blockchain_test.rs
Lines 162 to 165 in 181883c
Here and in other places where
create_test_static_files_dir
is used, we need to return both a guard (TempDir
) and an actual path to the directory, so the guard gets dropped when goes out of scope and the directory gets deleted.Additional context
Blocked by #6444
The text was updated successfully, but these errors were encountered: