From baec05dfbaf900bbe9691b534c1ed82722b5aceb Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 25 Feb 2020 18:22:23 -0800 Subject: [PATCH] Remove 'copyOnRead' confguration given it is no longer necessary in Apache Geode 1.11 given https://issues.apache.org/jira/browse/GEODE-6152 has been resolved. Additionally, remove 'logLevel' configuration since it no longer has any effect in Apache Geode 1.11. --- ...ientServerHttpSessionAccessIntegrationTests.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests.java b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests.java index df18278..bdec8ef 100644 --- a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests.java +++ b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests.java @@ -89,13 +89,11 @@ public class MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrati private static final boolean SESSION_REFERENCE_CHECKING_ENABLED = false; // TODO: Set WORKLOAD_SIZE back to 10,000 once Apache Geode fixes its concurrency and resource problems! - // NOTE: This issue may be related to (according to Anil Gingade): https://issues.apache.org/jira/browse/GEODE-7663 - // NOTE: https://issues.apache.org/jira/browse/GEODE-7763 + // NOTE: This issue may be related to (from Anil Gingade): https://issues.apache.org/jira/browse/GEODE-7663 + // NOTE: See https://issues.apache.org/jira/browse/GEODE-7763 private static final int THREAD_COUNT = 180; private static final int WORKLOAD_SIZE = 4000; - private static final String GEMFIRE_LOG_LEVEL = "error"; - @BeforeClass public static void startGemFireServer() throws IOException { startGemFireServer(GemFireServerConfiguration.class, "-Xmx2g"); @@ -330,7 +328,7 @@ public class MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrati assertThat(session.getAttributeNames()).hasSize(sessionAttributeCount); } - @ClientCacheApplication(copyOnRead = true, logLevel = GEMFIRE_LOG_LEVEL, subscriptionEnabled = true) + @ClientCacheApplication(subscriptionEnabled = true) @EnableGemFireHttpSession( clientRegionShortcut = ClientRegionShortcut.PROXY, poolName = "DEFAULT", @@ -345,10 +343,7 @@ public class MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrati } } - @CacheServerApplication( - name = "MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests", - logLevel = GEMFIRE_LOG_LEVEL - ) + @CacheServerApplication(name = "MultiThreadedHighlyConcurrentClientServerHttpSessionAccessIntegrationTests") @EnableLocator @EnableGemFireHttpSession( regionName = "Sessions",