[
https://issues.apache.org/jira/browse/GEODE-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259873#comment-16259873
]
ASF GitHub Bot commented on GEODE-3999:
---------------------------------------
pdxrunner closed pull request #1078: GEODE-3999: Prevent prematurely running
out of heap
URL: https://github.com/apache/geode/pull/1078
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java
b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java
index 80067ce424..df241d1c17 100644
---
a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java
+++
b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java
@@ -986,7 +986,7 @@ public void
test014GemFireServerJvmProcessTerminatesOnOutOfMemoryError() throws
pathname + TIMESTAMP.format(Calendar.getInstance().getTime()));
command.addOption(CliStrings.START_SERVER__SERVER_PORT,
String.valueOf(serverPort));
command.addOption(CliStrings.START_SERVER__USE_CLUSTER_CONFIGURATION,
Boolean.FALSE.toString());
- command.addOption(CliStrings.START_SERVER__MAXHEAP, "10M");
+ command.addOption(CliStrings.START_SERVER__MAXHEAP, "12M");
command.addOption(CliStrings.START_SERVER__LOG_LEVEL, "config");
command.addOption(CliStrings.START_SERVER__DIR,
workingDirectory.getCanonicalPath());
command.addOption(CliStrings.START_SERVER__CACHE_XML_FILE,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> CI Failure: LauncherLifecycleCommandsDUnitTest fails with OutOfMemoryError
> --------------------------------------------------------------------------
>
> Key: GEODE-3999
> URL: https://issues.apache.org/jira/browse/GEODE-3999
> Project: Geode
> Issue Type: Bug
> Components: ci, gfsh
> Reporter: Kenneth Howe
> Assignee: Kenneth Howe
>
> Test runs with a minimal heap size in order to force an out of memory
> condition. However the size of the heap is so small that the out of memory
> occurs prematurely, before the server is initialized.
> {code:title=Stack from geode-ightly-flaky #177}
> org.apache.geode.management.internal.cli.commands.LauncherLifecycleCommandsDUnitTest
> > test014GemFireServerJvmProcessTerminatesOnOutOfMemoryError FAILED
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.geode.management.internal.cli.commands.LauncherLifecycleCommandsDUnitTest.test014GemFireServerJvmProcessTerminatesOnOutOfMemoryError(LauncherLifecycleCommandsDUnitTest.java:1018)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)