Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
48144: storage: fix Pebble.DeleteDirAndFiles r=petermattis a=petermattis Fix `Pebble.DeleteDirAndFiles` to actually delete the specified directory. Previously it was only recursively deleting the directory's contents. Not deleting the directory was causing the `TestDiskQueue` and `TestSpillingQueue` tests to fail which assert that the queue directory does not exist at the end of the test. This fix also addresses a TODO to use a `RemoveAll` function which has been implemented in `pebble/vfs.FS` for a while. Release note: None Co-authored-by: Peter Mattis <petermattis@gmail.com>
- Loading branch information