Details
-
Type:
Task
-
Status: In Progress
-
Resolution: Unresolved
-
Affects Version/s: QUADS_QUERY_BRANCH
-
Fix Version/s: None
-
Component/s: CI, Project Management
-
Labels:None
Description
Modify the test setup to remove the use of File#deleteOnExit()
. This was a kludge for tests which were not being correctly torn down and many of the unit tests which relies on this pattern. For example, in a CI run on Centos, 924 out of 1082 open files as reported by lsof -p <PID> are like this:
/tmp/bigdata-DiskWORM-4381837471694413776.jnl (deleted)
The scope of the change should not be that large:
File.deleteOnExit() (24 hits) I also see: Options.DELETE_ON_CLOSE (2 hits - it is not in use anywhere) and Options.DELETE_ON_EXIT (43 hits)
The DELETE_ON_CLOSE and DELETE_ON_EXIT options in com.bigdata.journal.Options should both be removed.