geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Updated] (GEODE-4741) DUnit launches ChildVMs with hardcoded heap size
Date Fri, 02 Mar 2018 18:22:00 GMT


ASF GitHub Bot updated GEODE-4741:
    Labels: pull-request-available  (was: )

> DUnit launches ChildVMs with hardcoded heap size
> ------------------------------------------------
>                 Key: GEODE-4741
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
> This can result in tests such as PRQueryDUnitTest.testQueryResultsFromMembers passing
in gradle but failing in an IDE such as IntelliJ. 
> Adding -Xmx to the JUnit configuration for PRQueryDUnitTest.testQueryResultsFromMembers
in IntelliJ causes this test to start passing. Moving the code in testQueryResultsFromMembers
from the JUnit controller JVM to a ChildVM also causes the test to start passing (because
all 3 datastores are sized equivalently instead of having one be different size).
> The better solution is to change DUnit's ProcessManager to launch ChildVMs with the same
heap size as the main JUnit controller JVM. Then they will always be equivalent in all environments.

This message was sent by Atlassian JIRA

View raw message