Index: bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java |
diff --git a/bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java b/bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java |
index 7659dcc14c5b04fca9847e8616491d23ef00e784..fb2160b034d1530d7b73f4b11aebbf7dcd0a51bb 100644 |
--- a/bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java |
+++ b/bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java |
@@ -74,7 +74,7 @@ public class TestCache { |
@Test |
public void testCacheStorage() { |
for (CacheScope scope : CacheScope.values()) { |
- exerciseCache("TestCache", scope); |
+ exerciseCache("TestCache"+scope.toString(), scope); |
} |
} |
@@ -88,7 +88,7 @@ public class TestCache { |
@Test |
public void testCacheWithChildKeys() { |
for (CacheScope scope : CacheScope.values()) { |
- String cacheName = "SomeTestCache"; |
+ String cacheName = "SomeTestCache"+scope.toString(); |
Cache<String> cache = cacheManagerService.getCache(cacheName, scope); |
cache.put("fish", "cat"); |
assertTrue("Expected element to be in cache", cache.containsKey("fish")); |