Description
Et dusin Unittests fejler under Windows men ikke Linux. Fejlen har med adgang
til filer at gøre som fejler. Muligvis mangler der nogle close() statements
på åbne filestreams efter læsning og eller skrivning som forhindrer at
efterfølgende filoperationer fejler.
Eksempel fra BitarchiveClientTester.testUpload:
java.lang.Error: Couldn't remove file
C:\CVShome\projects\webarkivering\tests\dk\netarkivet\distribute\bitarchive\dat
a\working\bitarchive1\Upload5.ARC
at dk.netarkivet.utils.FileUtils.removeRecursively(FileUtils.java:70)
at dk.netarkivet.utils.FileUtils.removeRecursively(FileUtils.java:64)
at dk.netarkivet.utils.FileUtils.removeRecursively(FileUtils.java:64)
at dk.netarkivet.distribute.bitarchive.BitarchiveClientTester.tearDown
(BitarchiveClientTester.java:110)
at com.intellij.rt.execution.junit2.JUnitStarter.main
(JUnitStarter.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
NOTE: This bug is originally from Bugzilla bug_id=185.
This bug was previously assigned to Unassigned.
This bug was originally submitted by THZ.