From 2dcb908a9d4759e4da7a5a1ab6a665c753fa5f2b Mon Sep 17 00:00:00 2001 From: costin Date: Tue, 27 Jul 2010 20:47:28 +0300 Subject: [PATCH] + fix failing test (regarding cache vs distributed system naming) --- .../springframework/data/gemfire/CacheIntegrationTest.java | 4 ++-- .../org/springframework/data/gemfire/basic-cache.xml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/springframework/data/gemfire/CacheIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/CacheIntegrationTest.java index 8dc32547..db5c6e6a 100644 --- a/src/test/java/org/springframework/data/gemfire/CacheIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/CacheIntegrationTest.java @@ -59,8 +59,8 @@ public class CacheIntegrationTest { @Test public void testNamedCache() throws Exception { Cache cache = ctx.getBean("named-cache", Cache.class); - Assert.assertEquals("named-cache", cache.getDistributedSystem().getName()); - Assert.assertEquals("named-cache", cache.getName()); + Assert.assertEquals("cache-with-props", cache.getDistributedSystem().getName()); + Assert.assertEquals("cache-with-props", cache.getName()); } @Test diff --git a/src/test/resources/org/springframework/data/gemfire/basic-cache.xml b/src/test/resources/org/springframework/data/gemfire/basic-cache.xml index 2989c945..dad99470 100644 --- a/src/test/resources/org/springframework/data/gemfire/basic-cache.xml +++ b/src/test/resources/org/springframework/data/gemfire/basic-cache.xml @@ -26,7 +26,6 @@ - cache-with-props warning