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

DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • tests
    • None

    Description

      DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently with:

      org.apache.geode.test.dunit.rules.tests.DistributedTestRuleTest > shouldHaveFourDUnitVMsByDefault FAILED
          org.junit.ComparisonFailure: expected:<[4]> but was:<[5]>
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at org.apache.geode.test.dunit.rules.tests.DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault(DistributedTestRuleTest.java:35)
      

      This occurs anytime DistributedTestRuleTest executes after one of the other dunit tests in geode-core that uses more than the default 4 dunit VMs. These include:

      • LocatorDUnitTest.testMultipleLocatorsRestartingAtSameTime() <- uses 5 VMs in addition to controller & locator
      • LocatorDUnitTest.testMultipleLocatorsRestartingAtSameTimeWithMissingServers() <- uses 5 VMs in addition to controller & locator
      • PreferSerializedHARegionQueueTest.copyingHARegionQueueShouldNotThrowException() <- uses 7 VMs in addition to controller & locator

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: