You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/04 18:24:00 UTC
[jira] [Commented] (GEODE-7513)
PersistentColocatedPartitionedRegionDistributedTest.testFullTreeOfColocatedChildPRsWithMissingRegions
fails with org.mockito.exceptions.verification.NoInteractionsWanted
[ https://issues.apache.org/jira/browse/GEODE-7513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988070#comment-16988070 ]
ASF subversion and git services commented on GEODE-7513:
--------------------------------------------------------
Commit b48dc324b1f85688e333194d2d7e1636fa367dd7 in geode's branch refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b48dc32 ]
GEODE-7513: Fix PersistentColocatedPartitionedRegionDistributedTest
Move flaky test coverage from distributed test to unit test.
Add more unit tests to SingleThreadColocationLoggerTest.
> 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
> Time Spent: 20m
> 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)