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

SUPERFLAKY: CI Failure CqPerfDUnitTest.testFailOverMatchingCQsWithMultipleServers

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • cq

    Description

      This test failed in CI on revision b79b64a7cbdc4de1ffc1fe34222b56ac867ab38c

      https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/DistributedTest/builds/104

      I see there is a closed Jira for this same method name in a different test - see GEODE-4172. The method appears to have been copied and pasted, so maybe the fix didn't make it to this copy? We should fix this test and ideally remove the duplicate code as well!

      org.apache.geode.cache.query.cq.dunit.CqPerfDUnitTest > testFailOverMatchingCQsWithMultipleServers FAILED
      
          org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.query.cq.dunit.CqPerfDUnitTest$10.run in VM 1 running on Host 7872e0cd247b with 4 VMs
              at org.apache.geode.test.dunit.VM.invoke(VM.java:436)
              at org.apache.geode.test.dunit.VM.invoke(VM.java:405)
              at org.apache.geode.test.dunit.VM.invoke(VM.java:348)
              at org.apache.geode.cache.query.cq.dunit.CqPerfDUnitTest.validateMatchingCqs(CqPerfDUnitTest.java:958)
              at org.apache.geode.cache.query.cq.dunit.CqPerfDUnitTest.testFailOverMatchingCQsWithMultipleServers(CqPerfDUnitTest.java:804)
      
              Caused by:
              java.lang.AssertionError: Number of matched cqs are not equal to the expected matched cqs expected:<2> but was:<1>
                  at org.junit.Assert.fail(Assert.java:88)
                  at org.junit.Assert.failNotEquals(Assert.java:834)
                  at org.junit.Assert.assertEquals(Assert.java:645)
                  at org.apache.geode.cache.query.cq.dunit.CqPerfDUnitTest$10.run2(CqPerfDUnitTest.java:977)
      

      Attachments

        Issue Links

          Activity

            People

              mhansonp Mark Hanson
              upthewaterspout Dan Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2h
                  2h