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

Flaky Test AutoBalancerJUnitTest.testAuditorInvocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None

    Description

      This test failed in CI:

      org.apache.geode.cache.util.AutoBalancerJUnitTest > testAuditorInvocation FAILED
          unexpected invocation: oobAuditor.execute()
          expectations:
            expected once, already invoked 1 time: oobAuditor.init(an instance of java.util.Properties)
            expected exactly 2 times, already invoked 2 times: oobAuditor.execute()
            allowed, already invoked 3 times: timeProvider.currentTimeMillis(); returnTime
          what happened before this:
            oobAuditor.init(<{schedule=* 0/30 * * * ?}>)
            timeProvider.currentTimeMillis()
            oobAuditor.execute()
            timeProvider.currentTimeMillis()
            oobAuditor.execute()
            timeProvider.currentTimeMillis()
      

      https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/Build/builds/356

      This test suspiciously has a 1 second timeout, which may be why it is failing.

      Attachments

        Issue Links

          Activity

            People

              upthewaterspout Dan Smith
              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 - 0.5h
                  0.5h