Index: trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java	(revision 11472)
+++ trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java	(revision 11473)
@@ -11,4 +11,5 @@
 
 import org.apache.commons.jcs.access.behavior.ICacheAccess;
+import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
@@ -76,4 +77,13 @@
 
     /**
+     * Always clear cache before tests
+     * @throws Exception when clearing fails
+     */
+    @Before
+    public void clearCache() throws Exception {
+        getCache().clear();
+    }
+
+    /**
      * Test status codes
      * @throws InterruptedException in case of thread interruption
@@ -96,5 +106,4 @@
     /**
      * Test unknown host
-     * @throws InterruptedException in case of thread interruption
      * @throws IOException in case of I/O error
      */
