+ fix failing test (regarding cache vs distributed system naming)

This commit is contained in:
costin
2010-07-27 20:47:28 +03:00
parent 4a6e7e9458
commit 2dcb908a9d
2 changed files with 2 additions and 3 deletions

View File

@@ -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