From 7ec0cb52a40d8e16c59decb50d9d5c830c51fd79 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 9 Apr 2019 14:27:03 -0700 Subject: [PATCH] SGF-833 - 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 | 3 +- .../IndexConflictsIntegrationTest.java | 3 +- .../InvalidRegionDataPolicyShortcutsTest.java | 2 - ...undCachePutCacheEvictIntegrationTests.java | 4 +- .../cache/GemfireCacheIntegrationTests.java | 5 +- .../client/ClientCacheIndexingTest.java | 2 - .../client/ClientCacheSecurityTest.java | 2 - .../ClientCacheVariableLocatorsTest.java | 1 + ...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 +- ...rCacheProviderIntegrationTests-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 | 4 +- .../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 +- 124 files changed, 175 insertions(+), 313 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 b2f67f41..a40a69e2 100644 --- a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java @@ -103,7 +103,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 dea5a52d..3c74a03e 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 5884043c..5df889cc 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 1f843d8a..379980ba 100644 --- a/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java +++ b/src/test/java/org/springframework/data/gemfire/GenericRegionFactoryBeanTest.java @@ -58,8 +58,7 @@ public class GenericRegionFactoryBeanTest { 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 cfc0ddc8..8cffe3fe 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/cache/CompoundCachePutCacheEvictIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/cache/CompoundCachePutCacheEvictIntegrationTests.java index 14323407..2bf83b5b 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 35540fba..227fc09c 100644 --- a/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/cache/GemfireCacheIntegrationTests.java @@ -59,12 +59,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 5e79958f..ade04c0c 100644 --- a/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java +++ b/src/test/java/org/springframework/data/gemfire/client/ClientCacheIndexingTest.java @@ -94,8 +94,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 453358d6..fca8dc69 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()); 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 ed2c1a39..31ec1768 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 010bf2a8..ea18e413 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 81f111b5..ba1bd1de 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 2748b81c..f1e74364 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/SpringServerLauncherCacheProviderIntegrationTests-context.xml b/src/test/resources/SpringServerLauncherCacheProviderIntegrationTests-context.xml index eaa78d19..f0f75bb2 100644 --- a/src/test/resources/SpringServerLauncherCacheProviderIntegrationTests-context.xml +++ b/src/test/resources/SpringServerLauncherCacheProviderIntegrationTests-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 d289fd16..75dc4d4e 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 cd07939f..c20f849a 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 d5bec45f..cdbbfbcf 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 ce314f33..0c763040 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 94cb3dfa..fceb5625 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 7c0ababd..2f415775 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 f6ad1cf3..3328c303 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 30ce2049..cbb5e4d0 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 3e905220..f98a5814 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 326960c1..67b03ded 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 73dbbdfd..f121a607 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 af9475fc..d369afe9 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 ccbb364e..a9edc7b0 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 f6f27697..fbf3db7c 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 a1fa08d0..c696efea 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 ce83b713..cfb62617 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 @@ -15,8 +15,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 56dc411a..ed126999 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 bc06eb8f..753437c3 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 1a2cc58d..797be13a 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 36fd4e83..85baa85e 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 e3efed32..2d9b9fc0 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 29221820..bfe6534e 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 b4fdb828..f02a7dae 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 a7765ff8..61cb1866 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 851c3b4e..fd450590 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 77bd0b21..45a5c179 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 b58aca26..d0b0861f 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 8c257127..3b5c8226 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 00ba0bc7..3e37b4b6 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 1c150fd3..198a1660 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 f03766a3..d952cf37 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 08b61e66..72168e44 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 80b7a251..f3d0ca15 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 6838a0da..b466f68c 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 60066255..12614f8f 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 212e4338..06781ba7 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 390b1639..976b3ba5 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 cd1c51f3..4f291d95 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 6fa471eb..edaf2723 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 a559e53c..0480d2b0 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 b48ab0af..18499430 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 9e10b27a..aff155b7 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 19c9facb..7d248543 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 72de75e2..169b1d13 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,8 @@ 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 78a52384..5c024b1f 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 c4a4ea21..4ffc9103 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 85bd32dd..499ba5a7 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 32d8efff..93bfa7a6 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 c5ddd593..e6f0be76 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 844b2de8..9730420e 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 61571b9e..ef5c6e11 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 90a33dbc..24918e5e 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 b515926f..096b47de 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 367a1eea..efe36fa9 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 46be55bb..16542d9f 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 d7453bb4..04931649 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 b1fdb7ee..a794fe81 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 52e27350..392df8e3 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 659509ab..cb02d63f 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 0244da51..4e3c9eb4 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 @@ -12,9 +12,8 @@ XmlConfiguredFunctionExecutionIntegrationTests + error false - 0 - config 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 90a2dbc3..f8e868b2 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 cec2858a..f5a1fbc0 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 d768ec9e..9bc986f2 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 11ada10e..db3f9288 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 8b17883f..dbfd4db2 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 f537f888..8c7584b4 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 ab06c685..0196855c 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 5f4b0bdb..be77020b 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 7a219290..12b9533a 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 3f937b8a..e6d5722b 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