From 1c411fd47954b46e4ad2fffb29fbefbf9753c58a Mon Sep 17 00:00:00 2001 From: David Turanski Date: Wed, 29 Aug 2012 12:26:59 -0400 Subject: [PATCH] SGF-121 - Fixed issue with data-policy --- .../data/gemfire/config/LocalRegionNamespaceTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/springframework/data/gemfire/config/LocalRegionNamespaceTest.java b/src/test/java/org/springframework/data/gemfire/config/LocalRegionNamespaceTest.java index 83f216ba..2dfa064b 100644 --- a/src/test/java/org/springframework/data/gemfire/config/LocalRegionNamespaceTest.java +++ b/src/test/java/org/springframework/data/gemfire/config/LocalRegionNamespaceTest.java @@ -20,6 +20,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; +import static org.junit.Assert.assertNull; import org.junit.Test; import org.junit.runner.RunWith; @@ -65,7 +66,7 @@ public class LocalRegionNamespaceTest { private void testPublishingLocal() throws Exception { assertTrue(context.containsBean("pub")); RegionFactoryBean fb = context.getBean("&pub", RegionFactoryBean.class); - assertEquals("NORMAL", TestUtils.readField("dataPolicy", fb)); + assertNull(TestUtils.readField("dataPolicy", fb)); assertEquals(Scope.LOCAL, TestUtils.readField("scope", fb)); assertEquals("publisher", TestUtils.readField("name", fb)); RegionAttributes attrs = TestUtils.readField("attributes", fb);