diff --git a/cdm/src/test/java/ucar/nc2/util/cache/TestNetcdfFileCache.java b/cdm/src/test/java/ucar/nc2/util/cache/TestNetcdfFileCache.java
index <HASH>..<HASH> 100644
--- a/cdm/src/test/java/ucar/nc2/util/cache/TestNetcdfFileCache.java
+++ b/cdm/src/test/java/ucar/nc2/util/cache/TestNetcdfFileCache.java
@@ -32,6 +32,7 @@
  */

 package ucar.nc2.util.cache;

 

+import junit.framework.Assert;

 import org.junit.BeforeClass;

 import org.junit.Test;

 import ucar.nc2.util.CancelTask;

@@ -179,7 +180,7 @@ public class TestNetcdfFileCache {
     FileCache.CacheElement.CacheFile first = null;

     for (FileCache.CacheElement.CacheFile file : list) {

       assert file.isLocked.get();

-      assert file.countAccessed == 1;

+      Assert.assertEquals(file.toString(), 1, file.countAccessed);

       assert file.lastAccessed != 0;

 

       if (first == null)
Try to improve output from oddly failing test.