Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4741

DUnit launches ChildVMs with hardcoded heap size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • tests

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              klund Kirk Lund
              klund Kirk Lund
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m