Community
Participate
Working Groups
After running the Junit tests a lot of junitNNNNNNNNN directories are left in the temporary files folder. This requires cleaning up regularly to avoid other problems when running out of disk space.
Some of the problem could be snapshots not being closed. The pristine snapshots are not retrieved from the cache, but are stored back in the cache so could be given to another test, which might be wrong as pristine snapshots could be build with unusual options. These should be stored separately (or else the tests should clean them up). Should Snapshots have a finalizer? If a copying a dump fails due to lack of disk space then we need to close the file and delete it.
The test case code is now fixed - I think the remaining files are kept because of DTFJ not cleaning up properly - see bug 333004