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.
This commit is contained in:
John Blum
2020-02-25 18:22:23 -08:00
parent 5f952d3290
commit baec05dfba

View File

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