[ https://issues.apache.org/jira/browse/GEODE-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591774#comment-16591774 ]
ASF subversion and git services commented on GEODE-5617: -------------------------------------------------------- Commit 9be422c93f2dfcaf2ff719b760fe33881d39ba2b in geode's branch refs/heads/windows-heavy-lifter from Dan Smith [ https://gitbox.apache.org/repos/asf?p=geode.git;h=9be422c ] GEODE-5617: FIxing a race in AutoBalancerJUnitTest This test asserted that execute was invoked exactly twice by a background timer task. But that task could invoke execute more times than that if the main test thread is slow. > Flaky Test AutoBalancerJUnitTest.testAuditorInvocation > ------------------------------------------------------ > > Key: GEODE-5617 > URL: https://issues.apache.org/jira/browse/GEODE-5617 > Project: Geode > Issue Type: Bug > Reporter: Dan Smith > Assignee: Dan Smith > Priority: Major > Labels: pull-request-available, swat > Fix For: 1.7.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > This test failed in CI: > {noformat} > 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() > {noformat} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)