From 4358b51f98bd2ad3caf70371eabf33027c53eb56 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 9 Apr 2019 14:27:03 -0700 Subject: [PATCH] DATAGEODE-180 - Set Framework and Geode log level in tests to error. Remove out System.out and System.err println(..) statements. --- .../FunctionExecutionMethodMetadata.java | 66 ++++++++----------- .../OnRegionExecutionMethodMetadata.java | 14 ++-- ...heClusterConfigurationIntegrationTest.java | 2 +- ...ngPropertyPlaceholdersIntegrationTest.java | 6 +- .../GemfireTemplateIntegrationTests.java | 3 +- ...ledClientCacheRegionsIntegrationTests.java | 1 - .../gemfire/GenericRegionFactoryBeanTest.java | 4 +- .../IndexConflictsIntegrationTest.java | 3 +- .../InvalidRegionDataPolicyShortcutsTest.java | 2 - .../gemfire/PdxDiskStoreIntegrationTest.java | 2 +- ...undCachePutCacheEvictIntegrationTests.java | 4 +- .../cache/GemfireCacheIntegrationTests.java | 5 +- .../client/ClientCacheIndexingTest.java | 2 - .../client/ClientCacheSecurityTest.java | 2 - .../ClientCacheVariableLocatorsTest.java | 4 +- .../ClientCacheVariableServersTest.java | 3 - ...aConfiguredClientCacheIntegrationTest.java | 8 ++- ...sQueriesConfigurationIntegrationTests.java | 5 -- .../gemfire/fork/CqCacheServerProcess.java | 4 +- .../fork/FunctionCacheServerProcess.java | 4 +- ...owingFunctionExecutionIntegrationTest.java | 2 - .../PdxFunctionArgumentResolverTest.java | 4 +- .../data/gemfire/listener/GemfireMDP.java | 13 ++-- .../data/gemfire/process/ProcessExecutor.java | 9 ++- ...oryFactoryInformationIntegrationTests.java | 4 +- .../cdi/GemfireCacheRegionProducer.java | 4 +- .../PersonRepositoryIntegrationTests.java | 4 +- .../JSONRegionAdviceIntegrationTests.java | 2 - ...rePersistenceExceptionTranslationTest.java | 14 ++-- ...eSupportFunctionBasedIntegrationTests.java | 4 +- ...EventQueueWithListenerIntegrationTest.java | 7 +- ...erCacheProviderIntegrationTest-context.xml | 3 +- ...toRegionLookupIntegrationTests-context.xml | 3 +- ...WithAutowiringIntegrationTests-context.xml | 3 +- ...ponentScanningIntegrationTests-context.xml | 3 +- ...pRegionMutationIntegrationTest-context.xml | 3 +- ...allowRegionBeanDefinitionOverridesTest.xml | 3 +- .../data/gemfire/basic-cache.xml | 15 ++--- .../data/gemfire/basic-region.xml | 3 +- .../data/gemfire/basic-tx-config.xml | 3 +- ...he-server-with-subscription-disk-store.xml | 3 +- ...hingWithGemFireIntegrationTest-context.xml | 3 +- ...eAutoReconnectDisabledIntegrationTests.xml | 3 +- ...heAutoReconnectEnabledIntegrationTests.xml | 3 +- ...ingClusterConfigurationIntegrationTest.xml | 1 - ...ClientCacheIndexingTest-server-context.xml | 3 +- .../ClientCachePoolTests-server-context.xml | 3 +- ...ClientCacheSecurityTest-server-context.xml | 1 - ...cheVariableLocatorsTest-server-context.xml | 3 +- ...acheVariableServersTest-server-context.xml | 3 +- ...bRegionIntegrationTests-server-context.xml | 3 +- ...aSourceIntegrationTests-server-context.xml | 3 +- .../data/gemfire/colocated-region.xml | 3 +- .../data/gemfire/complex-subregion.xml | 3 +- .../AsyncEventQueueNamespaceTest-context.xml | 1 - .../GatewayReceiverNamespaceTest-context.xml | 3 +- ...entAttributeSettingsBeansNamespaceTest.xml | 3 +- ...irationAttributesNamespaceTest-context.xml | 3 +- ...ctionPolicyActionNamespaceTest-context.xml | 3 +- .../config/xml/MultipleCacheTest-context.xml | 3 +- ...initionUsingBeansNamespaceTest-context.xml | 3 +- ...victionAttributesNamespaceTest-context.xml | 3 +- ...irationAttributesNamespaceTest-context.xml | 3 +- ...riptionAttributesNamespaceTest-context.xml | 3 +- ...gionBeanDefinitionHashCodeTest-context.xml | 3 +- ...ersistenceEvictionSettingsTest-context.xml | 3 +- ...plateClientRegionNamespaceTest-context.xml | 3 +- ...ntPartitionRegionNamespaceTest-context.xml | 3 +- .../TemplateRegionsNamespaceTests-context.xml | 3 +- .../gemfire/config/xml/cache-using-pdx-ns.xml | 3 +- .../data/gemfire/config/xml/diskstore-ns.xml | 3 +- .../gemfire/config/xml/dynamic-region-ns.xml | 3 +- .../data/gemfire/config/xml/gateway-v7-ns.xml | 3 +- .../data/gemfire/config/xml/gateway-v8-ns.xml | 3 +- .../data/gemfire/config/xml/index-ns.xml | 3 +- .../gemfire/config/xml/jndi-binding-ns.xml | 3 +- ...-binding-with-property-placeholders-ns.xml | 3 +- .../data/gemfire/config/xml/local-ns.xml | 1 - .../config/xml/membership-attributes-ns.xml | 3 +- .../gemfire/config/xml/partitioned-ns.xml | 3 +- .../data/gemfire/config/xml/replicated-ns.xml | 1 - .../data/gemfire/config/xml/server-ns.xml | 3 +- .../data/gemfire/config/xml/subregion-ns.xml | 3 +- ...sistent-datapolicy-persistent-settings.xml | 3 +- .../xml/subregion-with-invalid-datapolicy.xml | 3 +- .../config/xml/subregionsubelement-ns.xml | 3 +- .../gemfire/config/xml/subscription-ns.xml | 3 +- .../config/xml/tx-listeners-and-writers.xml | 3 +- .../data/gemfire/config/xml/tx-ns.xml | 3 +- ...tore-using-propertyplaceholders-config.xml | 3 +- .../data/gemfire/enableRegionLookupsTest.xml | 3 +- ...onConfigurationIntegrationTest-context.xml | 3 +- ...nWithPdxIntegrationTest-server-context.xml | 3 +- ...xecutionIntegrationTest-server-context.xml | 3 +- ...reFunctionProxyFactoryBeanTest-context.xml | 3 +- ...ctionExecutionIntegrationTests-context.xml | 3 +- ...ctionExecutionIntegrationTests-context.xml | 3 +- ...unctionIntegrationTests-server-context.xml | 3 +- ...ion-shortcut-with-persistent-attribute.xml | 3 +- ...-use-of-region-datapolicy-and-shortcut.xml | 3 +- .../data/gemfire/lookupSubRegion.xml | 3 +- .../noDuplicateRegionDefinitionsTest.xml | 3 +- .../data/gemfire/noLocalRegionLookupTest.xml | 3 +- .../gemfire/noPartitionRegionLookupTest.xml | 3 +- .../gemfire/noReplicateRegionLookupTest.xml | 3 +- .../data/gemfire/noSubRegionLookupTest.xml | 3 +- .../data/gemfire/pdxdiskstore-config.xml | 3 +- .../gemfire/region-datapolicy-shortcuts.xml | 3 +- .../partitioned-region-repo-context.xml | 3 +- .../repository/config/repo-context.xml | 3 +- .../AlgorithmRepositoryTest-context.xml | 3 +- .../sample/AnimalRepositoryTest-context.xml | 3 +- ...nUserRepositoryIntegrationTest-context.xml | 3 +- .../sample/repositoryQueriesWithJoins.xml | 3 +- .../repository/sample/subregionRepository.xml | 3 +- .../userRepositoryQueriesIntegrationTest.xml | 3 +- ...rsonRepositoryIntegrationTests-context.xml | 3 +- ...ryTransactionalIntegrationTest-context.xml | 3 +- ...ONRegionAdviceIntegrationTests-context.xml | 1 - ...iceImportExportIntegrationTest-context.xml | 3 +- ...stenceExceptionTranslationTest-context.xml | 3 +- ...tFunctionBasedIntegrationTests-context.xml | 3 +- .../sample/initializer-gemfire-context.xml | 3 +- ...ndGatewaySenderIntegrationTest-context.xml | 3 +- ...ayReceiverStartIntegrationTest-context.xml | 3 +- .../wan/asyncEventQueueWithListener.xml | 3 +- 126 files changed, 176 insertions(+), 320 deletions(-) diff --git a/src/main/java/org/springframework/data/gemfire/function/execution/FunctionExecutionMethodMetadata.java b/src/main/java/org/springframework/data/gemfire/function/execution/FunctionExecutionMethodMetadata.java index 3bf7b9f5..eac369ef 100644 --- a/src/main/java/org/springframework/data/gemfire/function/execution/FunctionExecutionMethodMetadata.java +++ b/src/main/java/org/springframework/data/gemfire/function/execution/FunctionExecutionMethodMetadata.java @@ -10,85 +10,71 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ + package org.springframework.data.gemfire.function.execution; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; +import org.apache.geode.cache.execute.Execution; +import org.apache.geode.cache.execute.Function; import org.springframework.data.gemfire.function.annotation.FunctionId; -import org.springframework.util.Assert; import org.springframework.util.ReflectionUtils; /** - * Base class for method level metadata for a function execution interface. This is used at runtime by the - * function execution proxy to create the corresponding Gemfire function {@link Execution} + * Base class for method-level metadata for a {@link Function} {@link Execution} interface. + * + * This is used at runtime by the {@link Function} {@link Execution} proxy to create + * the corresponding {@link Function} {@link Execution}. * * @author David Turanski - * + * @author John Blum + * @see org.springframework.data.gemfire.function.execution.MethodMetadata */ -abstract class FunctionExecutionMethodMetadata { +abstract class FunctionExecutionMethodMetadata { - protected final Map methodMetadata = new HashMap(); - private final boolean singletonInterface; + protected final Map methodMetadata = new HashMap<>(); - public FunctionExecutionMethodMetadata(final Class serviceInterface) { + public FunctionExecutionMethodMetadata(Class serviceInterface) { - this.singletonInterface = serviceInterface.getMethods().length == 1; + ReflectionUtils.doWithMethods(serviceInterface, method -> { - ReflectionUtils.doWithMethods(serviceInterface, new ReflectionUtils.MethodCallback() { - @Override - public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { - T mmd = newMetadataInstance(method); - if (mmd.getFunctionId() == null) { - mmd.setFunctionId(method.getName()); - } + T methodMetadata = newMetadataInstance(method); - methodMetadata.put(method, mmd); + if (methodMetadata.getFunctionId() == null) { + methodMetadata.setFunctionId(method.getName()); } + + this.methodMetadata.put(method, methodMetadata); }); } protected abstract T newMetadataInstance(Method method); T getMethodMetadata(Method method) { - return methodMetadata.get(method); - } - - boolean isSingletonInterface() { - return this.singletonInterface; - } - - T getSingletonMethodMetada() { - Assert.isTrue(isSingletonInterface(),"this is not a singleton interface."); - return methodMetadata.values().iterator().next(); + return this.methodMetadata.get(method); } } - class MethodMetadata { private String functionId; public MethodMetadata(Method method) { - String annotatedFunctionId = annotatedFunctionId(method); - this.functionId = (annotatedFunctionId == null) ? null : annotatedFunctionId; - } - /** - * @return the functionId - */ - public String getFunctionId() { - return functionId; + FunctionId functionIdAnnotation = method.getAnnotation(FunctionId.class); + + if (functionIdAnnotation != null) { + this.functionId = functionIdAnnotation.value(); + } } public void setFunctionId(String functionId) { this.functionId = functionId; } - private String annotatedFunctionId(Method method) { - FunctionId functionIdAnnotation = method.getAnnotation(FunctionId.class); - return (functionIdAnnotation == null) ? null : functionIdAnnotation.value(); + public String getFunctionId() { + return this.functionId; } - } diff --git a/src/main/java/org/springframework/data/gemfire/function/execution/OnRegionExecutionMethodMetadata.java b/src/main/java/org/springframework/data/gemfire/function/execution/OnRegionExecutionMethodMetadata.java index 60b9d74d..c6c26a99 100644 --- a/src/main/java/org/springframework/data/gemfire/function/execution/OnRegionExecutionMethodMetadata.java +++ b/src/main/java/org/springframework/data/gemfire/function/execution/OnRegionExecutionMethodMetadata.java @@ -18,11 +18,11 @@ import java.util.Set; import org.springframework.data.gemfire.function.GemfireFunctionUtils; import org.springframework.data.gemfire.function.annotation.Filter; - - /** - * @author David Turanski * + * @author David Turanski + * @author John Blum + * @see org.springframework.data.gemfire.function.execution.FunctionExecutionMethodMetadata */ class OnRegionExecutionMethodMetadata extends FunctionExecutionMethodMetadata { @@ -33,9 +33,6 @@ class OnRegionExecutionMethodMetadata extends FunctionExecutionMethodMetadata[]{Set.class}); + + this.filterArgPosition = GemfireFunctionUtils.getAnnotationParameterPosition(method, Filter.class, + new Class[] { Set.class }); } public int getFilterArgPosition() { diff --git a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java index ddc4f624..1c148e4c 100644 --- a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java @@ -102,7 +102,7 @@ public class CacheClusterConfigurationIntegrationTest extends ClientServerIntegr getLocatorProcessOutput(description)); } catch (IOException cause) { - throw newRuntimeException(cause, "Failed the write the contents of the Locator process log to a file"); + throw newRuntimeException(cause, "Failed to write the contents of the Locator process log to a file"); } } } diff --git a/src/test/java/org/springframework/data/gemfire/DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest.java index d5fa845d..7a13de7a 100644 --- a/src/test/java/org/springframework/data/gemfire/DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest.java @@ -29,7 +29,7 @@ import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.gemfire.test.GemfireTestApplicationContextInitializer; import org.springframework.test.context.ContextConfiguration; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.junit4.SpringRunner; /** * The DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest class is a test suite of integration tests testing the use @@ -46,9 +46,9 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; * @link https://jira.springsource.org/browse/SGF-249 * @since 1.3.4 */ +@RunWith(SpringRunner.class) @ContextConfiguration(locations = "diskstore-using-propertyplaceholders-config.xml", initializers = GemfireTestApplicationContextInitializer.class) -@RunWith(SpringJUnit4ClassRunner.class) @SuppressWarnings("unused") public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest { @@ -65,7 +65,6 @@ public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest { @Test public void testDiskStoreBeanWithPropertyPlaceholderConfiguration() { - System.out.printf("Disk Store Configuration: %1$s%n", diskStoreConfiguration); assertNotNull("The Disk Store was not configured and initialized!", testDataStore); assertEquals(getExpectedValue("allowForceCompaction"), testDataStore.getAllowForceCompaction()); assertEquals(getExpectedValue("autoCompact"), testDataStore.getAutoCompact()); @@ -76,5 +75,4 @@ public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest { assertEquals(getExpectedValue("timeInterval"), testDataStore.getTimeInterval()); assertEquals(getExpectedValue("writeBufferSize"), testDataStore.getWriteBufferSize()); } - } diff --git a/src/test/java/org/springframework/data/gemfire/GemfireTemplateIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/GemfireTemplateIntegrationTests.java index 59279b34..bc4a42a7 100644 --- a/src/test/java/org/springframework/data/gemfire/GemfireTemplateIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/GemfireTemplateIntegrationTests.java @@ -353,11 +353,12 @@ public class GemfireTemplateIntegrationTests { static class GemfireTemplateConfiguration { Properties gemfireProperties() { + Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", applicationName()); - gemfireProperties.setProperty("mcast-port", "0"); gemfireProperties.setProperty("log-level", logLevel()); + return gemfireProperties; } diff --git a/src/test/java/org/springframework/data/gemfire/GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationTests.java index 994555f0..86fee4dd 100644 --- a/src/test/java/org/springframework/data/gemfire/GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationTests.java @@ -259,7 +259,6 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT return PropertiesBuilder.create() .setProperty("name", applicationName()) - .setProperty("mcast-port", "0") .setProperty("log-level", logLevel()) .setProperty("locators", "localhost[11235]") .setProperty("enable-cluster-configuration", "false") diff --git a/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java b/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java index a75ece23..e259b3d3 100644 --- a/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java +++ b/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java @@ -56,10 +56,10 @@ public class GenericRegionFactoryBeanTest { @BeforeClass public static void setup() throws Exception { + Cache gemfireCache = new CacheFactory() .set("name", GenericRegionFactoryBeanTest.class.getSimpleName()) - .set("mcast-port", "0") - .set("log-level", "warning") + .set("log-level", "error") .create(); PeerRegionFactoryBean defaultRegionFactory = new GenericRegionFactoryBean(); diff --git a/src/test/java/org/springframework/data/gemfire/IndexConflictsIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/IndexConflictsIntegrationTest.java index 8327f1ea..b97f8b00 100644 --- a/src/test/java/org/springframework/data/gemfire/IndexConflictsIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/IndexConflictsIntegrationTest.java @@ -270,8 +270,7 @@ public class IndexConflictsIntegrationTest { Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", IndexConflictsIntegrationTest.class.getSimpleName()); - gemfireProperties.setProperty("mcast-port", "0"); - gemfireProperties.setProperty("log-level", "warning"); + gemfireProperties.setProperty("log-level", "error"); return gemfireProperties; } diff --git a/src/test/java/org/springframework/data/gemfire/InvalidRegionDataPolicyShortcutsTest.java b/src/test/java/org/springframework/data/gemfire/InvalidRegionDataPolicyShortcutsTest.java index 7e9d1a00..9fd8cacc 100644 --- a/src/test/java/org/springframework/data/gemfire/InvalidRegionDataPolicyShortcutsTest.java +++ b/src/test/java/org/springframework/data/gemfire/InvalidRegionDataPolicyShortcutsTest.java @@ -40,7 +40,6 @@ public class InvalidRegionDataPolicyShortcutsTest { "/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml"); } catch (BeanCreationException expected) { - //expected.printStackTrace(System.err); assertTrue(expected.getMessage().contains("Error creating bean with name 'InvalidReplicate'")); throw expected; } @@ -53,7 +52,6 @@ public class InvalidRegionDataPolicyShortcutsTest { "/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml"); } catch (BeanDefinitionParsingException expected) { - //expected.printStackTrace(System.err); assertTrue(expected.getMessage().contains( "Only one of [data-policy, shortcut] may be specified with element 'gfe:partitioned-region'")); throw expected; diff --git a/src/test/java/org/springframework/data/gemfire/PdxDiskStoreIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/PdxDiskStoreIntegrationTest.java index 80fe332b..1b35fc3f 100644 --- a/src/test/java/org/springframework/data/gemfire/PdxDiskStoreIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/PdxDiskStoreIntegrationTest.java @@ -97,10 +97,10 @@ public class PdxDiskStoreIntegrationTest { @Before public void setup() { + assertNotNull("The PdxData GemFire Region was not created successfully!", pdxDataRegion); if (pdxDataRegion.size() == 0) { - System.out.printf("Creating entries for Region (%1$s)...%n", pdxDataRegion.getName()); for (int index = 1; index <= NUMBER_OF_REGION_ENTRIES; index++) { pdxDataRegion.put(new KeyHolder("key" + index), new ValueHolder(index)); } diff --git a/src/test/java/org/springframework/data/gemfire/cache/CompoundCachePutCacheEvictIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/cache/CompoundCachePutCacheEvictIntegrationTests.java index 031a4d5a..20500304 100644 --- a/src/test/java/org/springframework/data/gemfire/cache/CompoundCachePutCacheEvictIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/cache/CompoundCachePutCacheEvictIntegrationTests.java @@ -198,13 +198,13 @@ public class CompoundCachePutCacheEvictIntegrationTests { @Configuration static class GemFireConfiguration { - static final String DEFAULT_GEMFIRE_LOG_LEVEL = "warning"; + static final String DEFAULT_GEMFIRE_LOG_LEVEL = "error"; Properties gemfireProperties() { + Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", applicationName()); - gemfireProperties.setProperty("mcast-port", "0"); gemfireProperties.setProperty("locators", ""); gemfireProperties.setProperty("log-level", logLevel()); diff --git a/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java index 5db729e7..a716daee 100644 --- a/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java @@ -60,12 +60,11 @@ public class GemfireCacheIntegrationTests extends AbstractNativeCacheTests newNativeCache() throws Exception { + Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", GemfireCacheIntegrationTests.class.getName()); - gemfireProperties.setProperty("mcast-port", "0"); - gemfireProperties.setProperty("locators", ""); - gemfireProperties.setProperty("log-level", "warning"); + gemfireProperties.setProperty("log-level", "error"); org.apache.geode.cache.Cache cache = GemfireUtils.getCache(); diff --git a/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java b/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java index 8040bc61..fca65777 100644 --- a/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java @@ -92,8 +92,6 @@ public class ClientCacheIndexingTest { arguments.toArray(new String[arguments.size()])); waitForServerStart(TimeUnit.SECONDS.toMillis(20)); - - System.out.println("GemFire Cache Server Process for ClientCache Indexing should be running..."); } private static void waitForServerStart(final long milliseconds) { diff --git a/src/test/java/org/springframework/data/gemfire/client/ClientCacheSecurityTest.java b/src/test/java/org/springframework/data/gemfire/client/ClientCacheSecurityTest.java index 29acc376..a60afcaf 100644 --- a/src/test/java/org/springframework/data/gemfire/client/ClientCacheSecurityTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/ClientCacheSecurityTest.java @@ -84,8 +84,6 @@ public class ClientCacheSecurityTest { arguments.toArray(new String[arguments.size()])); waitForServerStart(TimeUnit.SECONDS.toMillis(20)); - - System.out.println("GemFire Cache Server Process for ClientCache Security should be running..."); } private static void waitForServerStart(final long milliseconds) { diff --git a/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest.java b/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest.java index 116f39b7..affb03a8 100644 --- a/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest.java @@ -69,6 +69,7 @@ public class ClientCacheVariableLocatorsTest { @BeforeClass public static void setup() throws IOException { + String serverName = ClientCacheVariableServersTest.class.getSimpleName().concat("Server"); File serverWorkingDirectory = new File(FileSystemUtils.WORKING_DIRECTORY, serverName.toLowerCase()); @@ -85,9 +86,6 @@ public class ClientCacheVariableLocatorsTest { arguments.toArray(new String[arguments.size()])); waitForServerToStart(TimeUnit.SECONDS.toMillis(20)); - - System.out.printf("Spring-based, GemFire Cache Server process for %1$s should be running...%n", - ClientCacheVariableLocatorsTest.class.getSimpleName()); } private static void waitForServerToStart(final long milliseconds) { diff --git a/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableServersTest.java b/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableServersTest.java index 02e449cf..6751a832 100644 --- a/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableServersTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/ClientCacheVariableServersTest.java @@ -85,9 +85,6 @@ public class ClientCacheVariableServersTest { arguments.toArray(new String[arguments.size()])); waitForServerToStart(TimeUnit.SECONDS.toMillis(20)); - - System.out.printf("Spring-based, GemFire Cache Server process for %1$s should be running...%n", - ClientCacheVariableServersTest.class.getSimpleName()); } private static void waitForServerToStart(final long milliseconds) { diff --git a/src/test/java/org/springframework/data/gemfire/client/SpringJavaConfiguredClientCacheIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/client/SpringJavaConfiguredClientCacheIntegrationTest.java index 410e9c5b..334ad89f 100644 --- a/src/test/java/org/springframework/data/gemfire/client/SpringJavaConfiguredClientCacheIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/SpringJavaConfiguredClientCacheIntegrationTest.java @@ -71,20 +71,22 @@ public class SpringJavaConfiguredClientCacheIntegrationTest { @Bean public Properties gemfireProperties() { + Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", SpringJavaConfiguredClientCacheIntegrationTest.class.getSimpleName()); - gemfireProperties.setProperty("mcast-port", "0"); - gemfireProperties.setProperty("log-level", "warning"); + gemfireProperties.setProperty("log-level", "error"); + return gemfireProperties; } @Bean public ClientCacheFactoryBean clientCache() { + ClientCacheFactoryBean clientCacheFactoryBean = new ClientCacheFactoryBean(); clientCacheFactoryBean.setUseBeanFactoryLocator(false); clientCacheFactoryBean.setProperties(gemfireProperties()); + return clientCacheFactoryBean; } } - } diff --git a/src/test/java/org/springframework/data/gemfire/config/annotation/EnableContinuousQueriesConfigurationIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/config/annotation/EnableContinuousQueriesConfigurationIntegrationTests.java index f57c31a5..57911813 100644 --- a/src/test/java/org/springframework/data/gemfire/config/annotation/EnableContinuousQueriesConfigurationIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/config/annotation/EnableContinuousQueriesConfigurationIntegrationTests.java @@ -119,16 +119,11 @@ public class EnableContinuousQueriesConfigurationIntegrationTests extends Client assertThat(temperatureReading).isNotNull(); assertThat(temperatureReading.getTemperature()).isEqualTo(99); - //System.err.printf("Number of Temperature Readings [%d] on Server [%d]%n", - // this.temperatureReadings.size(), this.temperatureReadings.sizeOnServer()); - assertThat(this.temperatureReadings.sizeOnServer()).isEqualTo(10); //waitOn(() -> totalTemperatureReadingsCounter.get() >= 5, 100L); //assertThat(totalTemperatureReadingsCounter.get()).isNotZero(); - - //System.err.printf("Total Temperature Readings [%d]%n", totalTemperatureReadingsCounter.get()); } @Test diff --git a/src/test/java/org/springframework/data/gemfire/fork/CqCacheServerProcess.java b/src/test/java/org/springframework/data/gemfire/fork/CqCacheServerProcess.java index a205373d..dc3849dd 100644 --- a/src/test/java/org/springframework/data/gemfire/fork/CqCacheServerProcess.java +++ b/src/test/java/org/springframework/data/gemfire/fork/CqCacheServerProcess.java @@ -41,7 +41,7 @@ public class CqCacheServerProcess { private static Region testCqRegion; private static final String CACHE_SERVER_PORT_PROPERTY = "spring.data.gemfire.cache.server.port"; - private static final String GEMFIRE_LOG_LEVEL = "warning"; + private static final String GEMFIRE_LOG_LEVEL = "error"; private static final String GEMFIRE_NAME = "CqServer"; @SuppressWarnings("deprecation") @@ -51,9 +51,9 @@ public class CqCacheServerProcess { } private static Cache newGemFireCache(String name, String logLevel) { + return new CacheFactory() .set("name", name) - .set("mcast-port", "0") .set("log-level", logLevel) .create(); } diff --git a/src/test/java/org/springframework/data/gemfire/fork/FunctionCacheServerProcess.java b/src/test/java/org/springframework/data/gemfire/fork/FunctionCacheServerProcess.java index 08f485b2..faffe5b8 100644 --- a/src/test/java/org/springframework/data/gemfire/fork/FunctionCacheServerProcess.java +++ b/src/test/java/org/springframework/data/gemfire/fork/FunctionCacheServerProcess.java @@ -44,7 +44,7 @@ public class FunctionCacheServerProcess { private static Region testFunctionRegion; private static final String CACHE_SERVER_PORT_PROPERTY = "spring.data.gemfire.cache.server.port"; - private static final String GEMFIRE_LOG_LEVEL = "warning"; + private static final String GEMFIRE_LOG_LEVEL = "error"; private static final String GEMFIRE_NAME = "FunctionServer"; public static void main(String[] args) throws Exception { @@ -53,9 +53,9 @@ public class FunctionCacheServerProcess { } private static Cache newGemFireCache(String name, String logLevel) { + return new CacheFactory() .set("name", name) - .set("mcast-port", "0") .set("log-level", logLevel) .set("groups", "g1,g2,g3") .create(); diff --git a/src/test/java/org/springframework/data/gemfire/function/ExceptionThrowingFunctionExecutionIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/function/ExceptionThrowingFunctionExecutionIntegrationTest.java index 35f13a14..63d3a1cf 100644 --- a/src/test/java/org/springframework/data/gemfire/function/ExceptionThrowingFunctionExecutionIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/function/ExceptionThrowingFunctionExecutionIntegrationTest.java @@ -97,8 +97,6 @@ public class ExceptionThrowingFunctionExecutionIntegrationTest { arguments.toArray(new String[arguments.size()])); waitForServerStart(TimeUnit.SECONDS.toMillis(20)); - - System.out.println("GemFire Cache Server Process for ClientCache Indexing should be running..."); } private static void waitForServerStart(final long milliseconds) { diff --git a/src/test/java/org/springframework/data/gemfire/function/PdxFunctionArgumentResolverTest.java b/src/test/java/org/springframework/data/gemfire/function/PdxFunctionArgumentResolverTest.java index 53de1133..d8941756 100644 --- a/src/test/java/org/springframework/data/gemfire/function/PdxFunctionArgumentResolverTest.java +++ b/src/test/java/org/springframework/data/gemfire/function/PdxFunctionArgumentResolverTest.java @@ -67,12 +67,12 @@ public class PdxFunctionArgumentResolverTest { @BeforeClass public static void setupGemFire() { + gemfireCache = new CacheFactory() .setPdxSerializer(new PersonPdxSerializer()) .setPdxReadSerialized(true) .set("name", PdxFunctionArgumentResolverTest.class.getSimpleName()) - .set("mcast-port", "0") - .set("log-level", "warning") + .set("log-level", "error") .create(); } diff --git a/src/test/java/org/springframework/data/gemfire/listener/GemfireMDP.java b/src/test/java/org/springframework/data/gemfire/listener/GemfireMDP.java index a62ffb7c..7189dafc 100644 --- a/src/test/java/org/springframework/data/gemfire/listener/GemfireMDP.java +++ b/src/test/java/org/springframework/data/gemfire/listener/GemfireMDP.java @@ -27,15 +27,10 @@ import org.apache.geode.cache.query.CqQuery; */ public class GemfireMDP { - public void handleEvent(CqEvent event) { - System.out.println("Received event " + event); - } + public void handleEvent(CqEvent event) { } - public void handleQuery(CqQuery query) { - System.out.println("Received query " + query); - } + public void handleQuery(CqQuery query) { } + + public void handleOperation(Operation op) { } - public void handleOperation(Operation op) { - System.out.println("Received operation " + op); - } } diff --git a/src/test/java/org/springframework/data/gemfire/process/ProcessExecutor.java b/src/test/java/org/springframework/data/gemfire/process/ProcessExecutor.java index 7904ffcc..3b065039 100644 --- a/src/test/java/org/springframework/data/gemfire/process/ProcessExecutor.java +++ b/src/test/java/org/springframework/data/gemfire/process/ProcessExecutor.java @@ -72,12 +72,13 @@ public abstract class ProcessExecutor { ProcessWrapper processWrapper = new ProcessWrapper(process, ProcessConfiguration.create(processBuilder)); - processWrapper.register((input) -> System.err.printf("[FORK] - %s%n", input)); + //processWrapper.register((input) -> System.err.printf("[FORK] - %s%n", input)); return processWrapper; } protected static String[] buildCommand(String classpath, Class type, String... args) { + Assert.notNull(type, "The main Java class to launch must not be null"); List command = new ArrayList<>(); @@ -102,10 +103,11 @@ public abstract class ProcessExecutor { command.add(type.getName()); command.addAll(programArguments); - return command.toArray(new String[command.size()]); + return command.toArray(new String[0]); } protected static Collection getSpringGemFireSystemProperties() { + return System.getProperties().stringPropertyNames().stream() .filter(property -> property.startsWith(SPRING_DATA_GEMFIRE_SYSTEM_PROPERTY_PREFIX) || property.startsWith(SPRING_GEMFIRE_SYSTEM_PROPERTY_PREFIX)) @@ -114,10 +116,11 @@ public abstract class ProcessExecutor { } protected static boolean isJvmOption(String option) { - return (StringUtils.hasText(option) && (option.startsWith("-D") || option.startsWith("-X"))); + return StringUtils.hasText(option) && (option.startsWith("-D") || option.startsWith("-X")); } protected static File validateDirectory(File workingDirectory) { + Assert.isTrue(workingDirectory != null && (workingDirectory.isDirectory() || workingDirectory.mkdirs()), String.format("Failed to create working directory [%s]", workingDirectory)); diff --git a/src/test/java/org/springframework/data/gemfire/repository/GemFireRepositoryFactoryInformationIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/repository/GemFireRepositoryFactoryInformationIntegrationTests.java index 17933c82..688279d9 100644 --- a/src/test/java/org/springframework/data/gemfire/repository/GemFireRepositoryFactoryInformationIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/repository/GemFireRepositoryFactoryInformationIntegrationTests.java @@ -89,11 +89,11 @@ public class GemFireRepositoryFactoryInformationIntegrationTests { } Properties gemfireProperties() { + Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", applicationName()); - gemfireProperties.setProperty("mcast-port", "0"); - gemfireProperties.setProperty("log-level", "warning"); + gemfireProperties.setProperty("log-level", "error"); return gemfireProperties; } diff --git a/src/test/java/org/springframework/data/gemfire/repository/cdi/GemfireCacheRegionProducer.java b/src/test/java/org/springframework/data/gemfire/repository/cdi/GemfireCacheRegionProducer.java index 5b9303c6..e0f79315 100644 --- a/src/test/java/org/springframework/data/gemfire/repository/cdi/GemfireCacheRegionProducer.java +++ b/src/test/java/org/springframework/data/gemfire/repository/cdi/GemfireCacheRegionProducer.java @@ -47,10 +47,10 @@ public class GemfireCacheRegionProducer { @Produces @ApplicationScoped public Region createPeopleRegion() { + Cache gemfireCache = new CacheFactory() .set("name", "SpringDataGemFireCdiTest") - .set("mcast-port", "0") - .set("log-level", "warning") + .set("log-level", "error") .create(); RegionFactory peopleRegionFactory = gemfireCache.createRegionFactory(RegionShortcut.REPLICATE); diff --git a/src/test/java/org/springframework/data/gemfire/repository/sample/PersonRepositoryIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/repository/sample/PersonRepositoryIntegrationTests.java index cd7251e7..06758026 100644 --- a/src/test/java/org/springframework/data/gemfire/repository/sample/PersonRepositoryIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/repository/sample/PersonRepositoryIntegrationTests.java @@ -61,7 +61,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SuppressWarnings("unused") public class PersonRepositoryIntegrationTests { - private static final String DEFAULT_GEMFIRE_LOG_LEVEL = "warning"; + private static final String DEFAULT_GEMFIRE_LOG_LEVEL = "error"; private static final String GEMFIRE_LOG_LEVEL = System.getProperty("gemfire.log-level", DEFAULT_GEMFIRE_LOG_LEVEL); protected final AtomicLong ID_SEQUENCE = new AtomicLong(0L); @@ -207,8 +207,6 @@ public class PersonRepositoryIntegrationTests { Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name", applicationName()); - gemfireProperties.setProperty("mcast-port", "0"); - gemfireProperties.setProperty("locators", ""); gemfireProperties.setProperty("log-level", logLevel()); return gemfireProperties; diff --git a/src/test/java/org/springframework/data/gemfire/serialization/json/JSONRegionAdviceIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/serialization/json/JSONRegionAdviceIntegrationTests.java index 1c04d055..0cb2064b 100644 --- a/src/test/java/org/springframework/data/gemfire/serialization/json/JSONRegionAdviceIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/serialization/json/JSONRegionAdviceIntegrationTests.java @@ -123,8 +123,6 @@ public class JSONRegionAdviceIntegrationTests { String json = String.valueOf(this.jsonRegion.get("dave")); - System.out.printf("JSON [%s]%n", json); - assertEquals(json, toJson(davidTuranski)); Object result = jsonRegion.put("dave", davidTuranski); diff --git a/src/test/java/org/springframework/data/gemfire/support/GemfirePersistenceExceptionTranslationTest.java b/src/test/java/org/springframework/data/gemfire/support/GemfirePersistenceExceptionTranslationTest.java index 0151eb94..9a4ef8d6 100644 --- a/src/test/java/org/springframework/data/gemfire/support/GemfirePersistenceExceptionTranslationTest.java +++ b/src/test/java/org/springframework/data/gemfire/support/GemfirePersistenceExceptionTranslationTest.java @@ -42,24 +42,20 @@ public class GemfirePersistenceExceptionTranslationTest { @Test public void test() { + Map bpps = ctx.getBeansOfType(BeanPostProcessor.class); - System.out.println(bpps.size()); - for (BeanPostProcessor bpp: bpps.values()) { - System.out.println(bpp.getClass().getSimpleName()); - } + try { gemfireRepo1.doit(new QueryException()); fail("should throw a query exception"); - } catch (GemfireQueryException e){ - } + catch (GemfireQueryException ignore){ } try { gemfireRepo1.doit(new FunctionDomainException("test")); fail("should throw a query exception"); - } catch (GemfireQueryException e) { - } + catch (GemfireQueryException ignore) { } try { gemfireRepo1.doit(new QueryInvocationTargetException("test")); @@ -71,8 +67,6 @@ public class GemfirePersistenceExceptionTranslationTest { /** * Wraps GemfireCheckedExceptions in RuntimeException - * @author David Turanski - * */ @Repository public static class GemFireRepo1 { diff --git a/src/test/java/org/springframework/data/gemfire/support/LazyWiringDeclarableSupportFunctionBasedIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/support/LazyWiringDeclarableSupportFunctionBasedIntegrationTests.java index 012670fc..f896f198 100644 --- a/src/test/java/org/springframework/data/gemfire/support/LazyWiringDeclarableSupportFunctionBasedIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/support/LazyWiringDeclarableSupportFunctionBasedIntegrationTests.java @@ -59,10 +59,10 @@ public class LazyWiringDeclarableSupportFunctionBasedIntegrationTests { /* @BeforeClass public static void setupBeforeClass() { + Cache gemfireCache = new CacheFactory() .set("name", LazyWiringDeclarableSupportFunctionBasedIntegrationTests.class.getSimpleName()) - .set("mcast-port", "0") - .set("log-level", "config") + .set("log-level", "error") .set("cache-xml-file", null) .create(); diff --git a/src/test/java/org/springframework/data/gemfire/wan/AsyncEventQueueWithListenerIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/wan/AsyncEventQueueWithListenerIntegrationTest.java index bbab8d3b..e29dc03b 100644 --- a/src/test/java/org/springframework/data/gemfire/wan/AsyncEventQueueWithListenerIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/wan/AsyncEventQueueWithListenerIntegrationTest.java @@ -125,12 +125,13 @@ public class AsyncEventQueueWithListenerIntegrationTest { public void init() { getQueue(); - System.out.printf("%1$s initialized!%n", this); } public AsyncEventQueue getQueue() { - Assert.state(queue != null, String.format("A reference to the Async Event Queue on which this listener" - + " (%1$s) has been registered was not properly configured!", this)); + + Assert.state(queue != null, String.format("A reference to the AsyncEventQueue on which this listener" + + " [%s] has been registered was not properly configured", this)); + return queue; } diff --git a/src/test/resources/SpringServerLauncherCacheProviderIntegrationTest-context.xml b/src/test/resources/SpringServerLauncherCacheProviderIntegrationTest-context.xml index cd2d0b94..85f5882b 100644 --- a/src/test/resources/SpringServerLauncherCacheProviderIntegrationTest-context.xml +++ b/src/test/resources/SpringServerLauncherCacheProviderIntegrationTest-context.xml @@ -11,8 +11,7 @@ SpringServerLauncherCacheProviderIntegrationTest - 0 - warn + error diff --git a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupIntegrationTests-context.xml b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupIntegrationTests-context.xml index 22df95d9..a2f5dc84 100644 --- a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupIntegrationTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupIntegrationTests-context.xml @@ -11,8 +11,7 @@ AutoRegionLookupIntegrationTests - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithAutowiringIntegrationTests-context.xml b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithAutowiringIntegrationTests-context.xml index 965bdeb6..a7eaf22d 100644 --- a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithAutowiringIntegrationTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithAutowiringIntegrationTests-context.xml @@ -14,8 +14,7 @@ AutoRegionLookupWithAutowiringIntegrationTests - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithComponentScanningIntegrationTests-context.xml b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithComponentScanningIntegrationTests-context.xml index 454ec846..2aec165c 100644 --- a/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithComponentScanningIntegrationTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/AutoRegionLookupWithComponentScanningIntegrationTests-context.xml @@ -23,8 +23,7 @@ AutoRegionLookupWithComponentScanningIntegrationTests - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/LookupRegionMutationIntegrationTest-context.xml b/src/test/resources/org/springframework/data/gemfire/LookupRegionMutationIntegrationTest-context.xml index fac84f19..ae9640ee 100644 --- a/src/test/resources/org/springframework/data/gemfire/LookupRegionMutationIntegrationTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/LookupRegionMutationIntegrationTest-context.xml @@ -12,8 +12,7 @@ LookupRegionMutationIntegrationTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/allowRegionBeanDefinitionOverridesTest.xml b/src/test/resources/org/springframework/data/gemfire/allowRegionBeanDefinitionOverridesTest.xml index ed2e735f..0000180d 100644 --- a/src/test/resources/org/springframework/data/gemfire/allowRegionBeanDefinitionOverridesTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/allowRegionBeanDefinitionOverridesTest.xml @@ -11,8 +11,7 @@ AllowBeanDefinitionOverridesTest - 0 - warning + error 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 1f9673dc..1484a1ac 100644 --- a/src/test/resources/org/springframework/data/gemfire/basic-cache.xml +++ b/src/test/resources/org/springframework/data/gemfire/basic-cache.xml @@ -10,8 +10,7 @@ default-cache - 0 - warning + error @@ -20,8 +19,7 @@ cache-with-props - 0 - warning + error @@ -30,8 +28,7 @@ named-cache - 0 - warning + error @@ -41,8 +38,7 @@ cache-with-xml - 0 - warning + error @@ -51,8 +47,7 @@ pdx-cache - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/basic-region.xml b/src/test/resources/org/springframework/data/gemfire/basic-region.xml index 98d90774..427979c5 100644 --- a/src/test/resources/org/springframework/data/gemfire/basic-region.xml +++ b/src/test/resources/org/springframework/data/gemfire/basic-region.xml @@ -11,8 +11,7 @@ BasicRegionConfig - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/basic-tx-config.xml b/src/test/resources/org/springframework/data/gemfire/basic-tx-config.xml index 4f480b09..df38bcdc 100644 --- a/src/test/resources/org/springframework/data/gemfire/basic-tx-config.xml +++ b/src/test/resources/org/springframework/data/gemfire/basic-tx-config.xml @@ -10,8 +10,7 @@ BasicSubRegionConfig - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/cache-server-with-subscription-disk-store.xml b/src/test/resources/org/springframework/data/gemfire/cache-server-with-subscription-disk-store.xml index 966690a3..0765acb1 100644 --- a/src/test/resources/org/springframework/data/gemfire/cache-server-with-subscription-disk-store.xml +++ b/src/test/resources/org/springframework/data/gemfire/cache-server-with-subscription-disk-store.xml @@ -11,8 +11,7 @@ CacheServerWithClientSubscriptionAndDiskStoreTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/cache/CachingWithGemFireIntegrationTest-context.xml b/src/test/resources/org/springframework/data/gemfire/cache/CachingWithGemFireIntegrationTest-context.xml index 42295694..44f4b8c6 100644 --- a/src/test/resources/org/springframework/data/gemfire/cache/CachingWithGemFireIntegrationTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/cache/CachingWithGemFireIntegrationTest-context.xml @@ -16,8 +16,7 @@ SpringGemFireCachingIntegrationTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/cacheAutoReconnectDisabledIntegrationTests.xml b/src/test/resources/org/springframework/data/gemfire/cacheAutoReconnectDisabledIntegrationTests.xml index 25902335..336a002a 100644 --- a/src/test/resources/org/springframework/data/gemfire/cacheAutoReconnectDisabledIntegrationTests.xml +++ b/src/test/resources/org/springframework/data/gemfire/cacheAutoReconnectDisabledIntegrationTests.xml @@ -11,8 +11,7 @@ CacheAutoReconnectIntegrationTests - 0 - warning + error CacheAutoReconnectIntegrationTests - 0 - warning + error CacheUsingSharedConfigurationIntegrationTest - 0 error localhost[${spring.data.gemfire.locator.port:20668}] diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheIndexingTest-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheIndexingTest-server-context.xml index 1bc9bdf1..3f8abf8c 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheIndexingTest-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheIndexingTest-server-context.xml @@ -11,8 +11,7 @@ ClientCacheIndexingTestServer - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientCachePoolTests-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientCachePoolTests-server-context.xml index f7c18b3d..4d10174f 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientCachePoolTests-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientCachePoolTests-server-context.xml @@ -11,8 +11,7 @@ ClientCachePoolTestsServer - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheSecurityTest-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheSecurityTest-server-context.xml index 036568f9..42793cb5 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheSecurityTest-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheSecurityTest-server-context.xml @@ -27,7 +27,6 @@ ClientCacheSecurityTestServer - 0 error ${gemfire.security.ssl.enabled} ${gemfire.security.ssl.require-authentication} diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest-server-context.xml index 70fab920..3287c37f 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableLocatorsTest-server-context.xml @@ -20,8 +20,7 @@ ClientCacheVariableLocatorsTestServer - 0 - warning + error localhost[11235] localhost[11235] diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableServersTest-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableServersTest-server-context.xml index b36d237f..01cf035b 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableServersTest-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientCacheVariableServersTest-server-context.xml @@ -24,8 +24,7 @@ ClientCacheVariableServersTestServer - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/client/ClientSubRegionIntegrationTests-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/ClientSubRegionIntegrationTests-server-context.xml index 1dacbd0e..07de8e7e 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/ClientSubRegionIntegrationTests-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/ClientSubRegionIntegrationTests-server-context.xml @@ -15,8 +15,7 @@ GemFireServerWithRegionForClientConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/client/GemFireDataSourceIntegrationTests-server-context.xml b/src/test/resources/org/springframework/data/gemfire/client/GemFireDataSourceIntegrationTests-server-context.xml index 4b0b44ad..98f3a365 100644 --- a/src/test/resources/org/springframework/data/gemfire/client/GemFireDataSourceIntegrationTests-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/client/GemFireDataSourceIntegrationTests-server-context.xml @@ -14,8 +14,7 @@ DataSourceServerConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/colocated-region.xml b/src/test/resources/org/springframework/data/gemfire/colocated-region.xml index ea1ff7aa..222adf07 100644 --- a/src/test/resources/org/springframework/data/gemfire/colocated-region.xml +++ b/src/test/resources/org/springframework/data/gemfire/colocated-region.xml @@ -11,8 +11,7 @@ CollocatedRegionTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/complex-subregion.xml b/src/test/resources/org/springframework/data/gemfire/complex-subregion.xml index 74f579c8..a43b13cf 100644 --- a/src/test/resources/org/springframework/data/gemfire/complex-subregion.xml +++ b/src/test/resources/org/springframework/data/gemfire/complex-subregion.xml @@ -11,8 +11,7 @@ ComplexSubRegionConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/AsyncEventQueueNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/AsyncEventQueueNamespaceTest-context.xml index 8e96e322..75e2c10d 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/AsyncEventQueueNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/AsyncEventQueueNamespaceTest-context.xml @@ -16,7 +16,6 @@ AsyncEventQueueNamespaceTest - 0 error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/GatewayReceiverNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/GatewayReceiverNamespaceTest-context.xml index 480ad5de..47b15230 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/GatewayReceiverNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/GatewayReceiverNamespaceTest-context.xml @@ -11,8 +11,7 @@ GatewayReceiverDefaultStartNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidDataPolicyPersistentAttributeSettingsBeansNamespaceTest.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidDataPolicyPersistentAttributeSettingsBeansNamespaceTest.xml index 652b279d..2d6245e3 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidDataPolicyPersistentAttributeSettingsBeansNamespaceTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidDataPolicyPersistentAttributeSettingsBeansNamespaceTest.xml @@ -12,8 +12,7 @@ InvalidDataPolicyPersistentAttributeSettingsTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidRegionExpirationAttributesNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidRegionExpirationAttributesNamespaceTest-context.xml index 1d2753b8..97d70b94 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidRegionExpirationAttributesNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/InvalidRegionExpirationAttributesNamespaceTest-context.xml @@ -12,8 +12,7 @@ InvalidRegionExpirationAttributesNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/LocalRegionWithEvictionPolicyActionNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/LocalRegionWithEvictionPolicyActionNamespaceTest-context.xml index e987a3aa..b513e833 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/LocalRegionWithEvictionPolicyActionNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/LocalRegionWithEvictionPolicyActionNamespaceTest-context.xml @@ -11,8 +11,7 @@ LocalRegionWithEvictionPolicyActionNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/MultipleCacheTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/MultipleCacheTest-context.xml index 09a569df..6f2b6570 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/MultipleCacheTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/MultipleCacheTest-context.xml @@ -11,8 +11,7 @@ MultipleCacheTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionDefinitionUsingBeansNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionDefinitionUsingBeansNamespaceTest-context.xml index 5f81e1e7..62723262 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionDefinitionUsingBeansNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionDefinitionUsingBeansNamespaceTest-context.xml @@ -12,8 +12,7 @@ RegionDefinitionUsingBeansNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionEvictionAttributesNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionEvictionAttributesNamespaceTest-context.xml index d0df953a..77b2dcb8 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionEvictionAttributesNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionEvictionAttributesNamespaceTest-context.xml @@ -20,8 +20,7 @@ RegionEvictionAttributesNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionExpirationAttributesNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionExpirationAttributesNamespaceTest-context.xml index 8e782b07..7b353239 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionExpirationAttributesNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionExpirationAttributesNamespaceTest-context.xml @@ -20,8 +20,7 @@ RegionExpirationAttributesNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionSubscriptionAttributesNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionSubscriptionAttributesNamespaceTest-context.xml index e90f1813..dc041a98 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionSubscriptionAttributesNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionSubscriptionAttributesNamespaceTest-context.xml @@ -19,8 +19,7 @@ RegionSubscriptionAttributesNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionWithSubRegionBeanDefinitionHashCodeTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionWithSubRegionBeanDefinitionHashCodeTest-context.xml index 1c070e47..42528ba2 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionWithSubRegionBeanDefinitionHashCodeTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionWithSubRegionBeanDefinitionHashCodeTest-context.xml @@ -11,8 +11,7 @@ RegionWithSubRegionBeanDefinitionHashCodeTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionsWithDiskStoreAndPersistenceEvictionSettingsTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionsWithDiskStoreAndPersistenceEvictionSettingsTest-context.xml index d2db5807..cbd63d56 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/RegionsWithDiskStoreAndPersistenceEvictionSettingsTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/RegionsWithDiskStoreAndPersistenceEvictionSettingsTest-context.xml @@ -11,8 +11,7 @@ RegionWithDiskStoreAndPersistenceEvictionSettingsTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateClientRegionNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateClientRegionNamespaceTest-context.xml index 41f0cdf3..b37b62ce 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateClientRegionNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateClientRegionNamespaceTest-context.xml @@ -12,8 +12,7 @@ TemplateClientRegionNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplatePersistentPartitionRegionNamespaceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplatePersistentPartitionRegionNamespaceTest-context.xml index fcd1ac9c..41a6cdb8 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplatePersistentPartitionRegionNamespaceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplatePersistentPartitionRegionNamespaceTest-context.xml @@ -12,8 +12,7 @@ TemplatePersistentPartitionRegionNamespaceTest - warning - 0 + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateRegionsNamespaceTests-context.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateRegionsNamespaceTests-context.xml index b698b197..30399ad7 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateRegionsNamespaceTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/TemplateRegionsNamespaceTests-context.xml @@ -12,8 +12,7 @@ TemplateRegionsNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/cache-using-pdx-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/cache-using-pdx-ns.xml index 924a9b6d..85a66eb0 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/cache-using-pdx-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/cache-using-pdx-ns.xml @@ -11,8 +11,7 @@ CacheUsingPdxNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/diskstore-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/diskstore-ns.xml index 96fe6c3c..1c72e906 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/diskstore-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/diskstore-ns.xml @@ -13,8 +13,7 @@ DiskStoreNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/dynamic-region-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/dynamic-region-ns.xml index 1c1cb4d7..67f2a781 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/dynamic-region-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/dynamic-region-ns.xml @@ -11,8 +11,7 @@ DynamicRegionNamespaceConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v7-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v7-ns.xml index 24abf2fa..7c65fc3c 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v7-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v7-ns.xml @@ -11,8 +11,7 @@ GemfireV7GatewayNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v8-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v8-ns.xml index 8c5df389..cf26934f 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v8-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/gateway-v8-ns.xml @@ -12,8 +12,7 @@ GemfireV8GatewayNamespaceTest - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/index-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/index-ns.xml index 68294955..2367f056 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/index-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/index-ns.xml @@ -22,8 +22,7 @@ IndexNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-ns.xml index 370379a7..1c015adf 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-ns.xml @@ -11,8 +11,7 @@ JndiBindingNamespaceConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-with-property-placeholders-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-with-property-placeholders-ns.xml index ba2428c6..fd014a47 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-with-property-placeholders-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/jndi-binding-with-property-placeholders-ns.xml @@ -13,8 +13,7 @@ JndiBindingWithPropertyPlaceholdersNamespaceConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/local-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/local-ns.xml index 4607d8ad..31a66499 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/local-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/local-ns.xml @@ -12,7 +12,6 @@ LocalNamespaceConfig - 0 error 64m diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/membership-attributes-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/membership-attributes-ns.xml index 7f430132..ca527f6c 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/membership-attributes-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/membership-attributes-ns.xml @@ -11,8 +11,7 @@ MembershipAttributesNamespaceConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/partitioned-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/partitioned-ns.xml index 99c4fb39..b4a793d2 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/partitioned-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/partitioned-ns.xml @@ -14,8 +14,7 @@ PartitionedNamespaceConfig - 0 - warning + error 64m diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/replicated-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/replicated-ns.xml index 2f3a31b3..3f7def38 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/replicated-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/replicated-ns.xml @@ -14,7 +14,6 @@ ReplicatedNamespaceConfig - 0 error 64m diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/server-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/server-ns.xml index aafec9de..ecdcedf0 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/server-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/server-ns.xml @@ -20,8 +20,7 @@ CacheServerNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-ns.xml index 886c793b..73866e39 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-ns.xml @@ -11,8 +11,7 @@ SubRegionNamespaceConfig - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-inconsistent-datapolicy-persistent-settings.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-inconsistent-datapolicy-persistent-settings.xml index 54bbad81..4393eb8f 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-inconsistent-datapolicy-persistent-settings.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-inconsistent-datapolicy-persistent-settings.xml @@ -13,8 +13,7 @@ SubRegionWithInconsistentDataPolicyAndPersistentSettingsTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-invalid-datapolicy.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-invalid-datapolicy.xml index 36ac5078..44998249 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-invalid-datapolicy.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/subregion-with-invalid-datapolicy.xml @@ -13,8 +13,7 @@ SubRegionWithInvalidDataPolicyTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/subregionsubelement-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/subregionsubelement-ns.xml index eb540936..a635a7be 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/subregionsubelement-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/subregionsubelement-ns.xml @@ -11,8 +11,7 @@ SubRegionSubElementNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/subscription-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/subscription-ns.xml index 951b6efb..9ea25464 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/subscription-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/subscription-ns.xml @@ -11,8 +11,7 @@ SubscriptionNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/tx-listeners-and-writers.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/tx-listeners-and-writers.xml index cf2eec00..74ceb0a3 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/tx-listeners-and-writers.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/tx-listeners-and-writers.xml @@ -11,8 +11,7 @@ TransactionListenersAndWritersTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/config/xml/tx-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/xml/tx-ns.xml index 2df0a265..6c262bd9 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/xml/tx-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/xml/tx-ns.xml @@ -10,8 +10,7 @@ TransactionNamespaceTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/diskstore-using-propertyplaceholders-config.xml b/src/test/resources/org/springframework/data/gemfire/diskstore-using-propertyplaceholders-config.xml index a2eac712..f1ec319b 100644 --- a/src/test/resources/org/springframework/data/gemfire/diskstore-using-propertyplaceholders-config.xml +++ b/src/test/resources/org/springframework/data/gemfire/diskstore-using-propertyplaceholders-config.xml @@ -25,8 +25,7 @@ DiskStoreUsingPropertyPlaceholdersTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/enableRegionLookupsTest.xml b/src/test/resources/org/springframework/data/gemfire/enableRegionLookupsTest.xml index 4a441a7d..c5f316e0 100644 --- a/src/test/resources/org/springframework/data/gemfire/enableRegionLookupsTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/enableRegionLookupsTest.xml @@ -11,8 +11,7 @@ springGemFireEnableRegionLookupsTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/expiration/AnnotationBasedExpirationConfigurationIntegrationTest-context.xml b/src/test/resources/org/springframework/data/gemfire/expiration/AnnotationBasedExpirationConfigurationIntegrationTest-context.xml index 8427d5fb..dcc531c6 100644 --- a/src/test/resources/org/springframework/data/gemfire/expiration/AnnotationBasedExpirationConfigurationIntegrationTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/expiration/AnnotationBasedExpirationConfigurationIntegrationTest-context.xml @@ -22,8 +22,7 @@ AnnotationBasedExpirationConfigurationIntegrationTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/function/ClientCacheFunctionExecutionWithPdxIntegrationTest-server-context.xml b/src/test/resources/org/springframework/data/gemfire/function/ClientCacheFunctionExecutionWithPdxIntegrationTest-server-context.xml index 294c255d..6dd7cdd8 100644 --- a/src/test/resources/org/springframework/data/gemfire/function/ClientCacheFunctionExecutionWithPdxIntegrationTest-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/function/ClientCacheFunctionExecutionWithPdxIntegrationTest-server-context.xml @@ -14,8 +14,7 @@ SpringGemFireServerFunctionCreationWithPdx - 0 - config + error ExceptionThrowingFunctionExecutionIntegrationTestServer - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/function/GemfireFunctionProxyFactoryBeanTest-context.xml b/src/test/resources/org/springframework/data/gemfire/function/GemfireFunctionProxyFactoryBeanTest-context.xml index cd5bf8da..9511f9bb 100644 --- a/src/test/resources/org/springframework/data/gemfire/function/GemfireFunctionProxyFactoryBeanTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/function/GemfireFunctionProxyFactoryBeanTest-context.xml @@ -12,8 +12,7 @@ GemfireFunctionProxyFactoryBeanTest false - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/function/config/FunctionExecutionIntegrationTests-context.xml b/src/test/resources/org/springframework/data/gemfire/function/config/FunctionExecutionIntegrationTests-context.xml index 064c0487..7842e5b8 100644 --- a/src/test/resources/org/springframework/data/gemfire/function/config/FunctionExecutionIntegrationTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/function/config/FunctionExecutionIntegrationTests-context.xml @@ -12,8 +12,7 @@ FunctionExecutionIntegrationTests false - 0 - config + error diff --git a/src/test/resources/org/springframework/data/gemfire/function/config/XmlConfiguredFunctionExecutionIntegrationTests-context.xml b/src/test/resources/org/springframework/data/gemfire/function/config/XmlConfiguredFunctionExecutionIntegrationTests-context.xml index 487134a1..499a428c 100644 --- a/src/test/resources/org/springframework/data/gemfire/function/config/XmlConfiguredFunctionExecutionIntegrationTests-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/function/config/XmlConfiguredFunctionExecutionIntegrationTests-context.xml @@ -13,9 +13,8 @@ XmlConfiguredFunctionExecutionIntegrationTests - false - 0 error + false diff --git a/src/test/resources/org/springframework/data/gemfire/function/execution/FunctionIntegrationTests-server-context.xml b/src/test/resources/org/springframework/data/gemfire/function/execution/FunctionIntegrationTests-server-context.xml index 721f01df..2792f6b3 100644 --- a/src/test/resources/org/springframework/data/gemfire/function/execution/FunctionIntegrationTests-server-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/function/execution/FunctionIntegrationTests-server-context.xml @@ -15,9 +15,8 @@ FunctionIntegrationTestsServerContext - false - 0 error + false diff --git a/src/test/resources/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml b/src/test/resources/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml index 159bc8a7..5996a585 100644 --- a/src/test/resources/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml +++ b/src/test/resources/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml @@ -13,8 +13,7 @@ InvalidRegionShortcutAndPersistentAttributeTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml b/src/test/resources/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml index 99708e88..f04b32f5 100644 --- a/src/test/resources/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml +++ b/src/test/resources/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml @@ -13,8 +13,7 @@ InvalidUseOfRegionDataPolicyAndShortcutTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/lookupSubRegion.xml b/src/test/resources/org/springframework/data/gemfire/lookupSubRegion.xml index 18867b1b..daceee28 100644 --- a/src/test/resources/org/springframework/data/gemfire/lookupSubRegion.xml +++ b/src/test/resources/org/springframework/data/gemfire/lookupSubRegion.xml @@ -11,8 +11,7 @@ springGemFireLookupSubRegionTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/noDuplicateRegionDefinitionsTest.xml b/src/test/resources/org/springframework/data/gemfire/noDuplicateRegionDefinitionsTest.xml index 772aec5c..c6cbc6ec 100644 --- a/src/test/resources/org/springframework/data/gemfire/noDuplicateRegionDefinitionsTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/noDuplicateRegionDefinitionsTest.xml @@ -11,8 +11,7 @@ springGemFireNoDuplicateRegionDefinitionsTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/noLocalRegionLookupTest.xml b/src/test/resources/org/springframework/data/gemfire/noLocalRegionLookupTest.xml index cdebbf59..bc24ab0a 100644 --- a/src/test/resources/org/springframework/data/gemfire/noLocalRegionLookupTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/noLocalRegionLookupTest.xml @@ -11,8 +11,7 @@ springGemFireNoLocalRegionLookupTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/noPartitionRegionLookupTest.xml b/src/test/resources/org/springframework/data/gemfire/noPartitionRegionLookupTest.xml index 2f4ddd8b..df20528c 100644 --- a/src/test/resources/org/springframework/data/gemfire/noPartitionRegionLookupTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/noPartitionRegionLookupTest.xml @@ -11,8 +11,7 @@ springGemFireNoPartitionRegionLookupTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/noReplicateRegionLookupTest.xml b/src/test/resources/org/springframework/data/gemfire/noReplicateRegionLookupTest.xml index 51678123..6cfd1750 100644 --- a/src/test/resources/org/springframework/data/gemfire/noReplicateRegionLookupTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/noReplicateRegionLookupTest.xml @@ -11,8 +11,7 @@ springGemFireNoReplicateRegionLookupTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/noSubRegionLookupTest.xml b/src/test/resources/org/springframework/data/gemfire/noSubRegionLookupTest.xml index c0e44840..6466a933 100644 --- a/src/test/resources/org/springframework/data/gemfire/noSubRegionLookupTest.xml +++ b/src/test/resources/org/springframework/data/gemfire/noSubRegionLookupTest.xml @@ -11,8 +11,7 @@ springGemFireNoSubRegionLookupTest - 0 - warning + error diff --git a/src/test/resources/org/springframework/data/gemfire/pdxdiskstore-config.xml b/src/test/resources/org/springframework/data/gemfire/pdxdiskstore-config.xml index 5ecc2164..4987a7a6 100644 --- a/src/test/resources/org/springframework/data/gemfire/pdxdiskstore-config.xml +++ b/src/test/resources/org/springframework/data/gemfire/pdxdiskstore-config.xml @@ -11,8 +11,7 @@ pdxDiskStoreTest - 0 - warning + error