Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(556)

Unified Diff: bundles/memory/src/test/java/org/sakaiproject/nakamura/memory/TestCache.java

Issue 5350045: OAE 1.0 Clustering Part I of N
Patch Set: Created 12 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"));

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b