Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test isolation failure with DeleteFileOnExitHooks (netty#12809)
Motivation: DiskAttributes add themselves to a static mutable map when their `deleteOnExit` is `true`. The `DeleteOnExitHooksTest` manipulates this map and deletes the files in it, causing random test isolation failures. Modification: Make the `DeleteFileOnExitHookTest` isolated. Also make the test use a new random temp directory every time. Result: No more tests in the http module randomly failing with "file not found".
- Loading branch information