[
https://issues.apache.org/jira/browse/GEODE-7513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042257#comment-17042257
]
ASF subversion and git services commented on GEODE-7513:
--------------------------------------------------------
Commit b430b8b9ef70c1f463ae825ad9d23919939cfce7 in geode's branch
refs/heads/mass-test-run from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b430b8b ]
GEODE-7513: Fix PersistentColocatedPartitionedRegionDistributedTest (#4715)
Change from verify.times to verify.atLeast to be more forgiving.
> PersistentColocatedPartitionedRegionDistributedTest.testFullTreeOfColocatedChildPRsWithMissingRegions
> fails with org.mockito.exceptions.verification.NoInteractionsWanted
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-7513
> URL: https://issues.apache.org/jira/browse/GEODE-7513
> Project: Geode
> Issue Type: Bug
> Components: core, tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
> Labels: flaky
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Failed in CI
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK11/builds/1330:
> {noformat}
> org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDistributedTest
> > testFullTreeOfColocatedChildPRsWithMissingRegions FAILED
> java.lang.AssertionError: An exception occurred during asynchronous
> invocation.
> at
> org.apache.geode.test.dunit.AsyncInvocation.checkException(AsyncInvocation.java:297)
> at
> org.apache.geode.test.dunit.AsyncInvocation.await(AsyncInvocation.java:448)
> at
> org.apache.geode.test.dunit.AsyncInvocation.await(AsyncInvocation.java:178)
> at
> org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDistributedTest.testFullTreeOfColocatedChildPRsWithMissingRegions(PersistentColocatedPartitionedRegionDistributedTest.java:767)
> Caused by:
> org.mockito.exceptions.verification.NoInteractionsWanted:
> No interactions wanted here:
> -> at
> org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDistributedTest.validateColocationLogger_withChildRegionTree(PersistentColocatedPartitionedRegionDistributedTest.java:1987)
> But found this interaction on mock 'consumer':
> -> at
> org.apache.geode.internal.cache.partitioned.colocation.SingleThreadColocationLogger.logMissingRegions(SingleThreadColocationLogger.java:216)
> ***
> For your reference, here is the list of all invocations ([?] - means
> unverified).
> 1. -> at
> org.apache.geode.internal.cache.partitioned.colocation.SingleThreadColocationLogger.logMissingRegions(SingleThreadColocationLogger.java:216)
> 2. [?]-> at
> org.apache.geode.internal.cache.partitioned.colocation.SingleThreadColocationLogger.logMissingRegions(SingleThreadColocationLogger.java:216)
> at
> org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDistributedTest.validateColocationLogger_withChildRegionTree(PersistentColocatedPartitionedRegionDistributedTest.java:1987)
> at
> org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDistributedTest.lambda$testFullTreeOfColocatedChildPRsWithMissingRegions$43440a96$1(PersistentColocatedPartitionedRegionDistributedTest.java:764)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)