[ https://issues.apache.org/jira/browse/GEODE-8575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donal Evans resolved GEODE-8575. -------------------------------- Fix Version/s: 1.14.0 Resolution: Fixed > IntegrationTest failure > IndexRepositoryFactoryIntegrationTest.shouldThrowInternalGemfireErrorWhenIOExceptionEncounteredConsistentlyDuringComputingRepository > FAILED > ------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-8575 > URL: https://issues.apache.org/jira/browse/GEODE-8575 > Project: Geode > Issue Type: Bug > Components: lucene > Affects Versions: 1.14.0 > Reporter: Mark Hanson > Assignee: Donal Evans > Priority: Major > Fix For: 1.14.0 > > > [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK11/builds/478] > > {noformat} > org.apache.geode.cache.lucene.internal.IndexRepositoryFactoryIntegrationTest > > > shouldThrowInternalGemfireErrorWhenIOExceptionEncounteredConsistentlyDuringComputingRepository > FAILED > org.mockito.exceptions.misusing.UnfinishedStubbingException: > Unfinished stubbing detected here: > -> at > org.apache.geode.cache.lucene.internal.IndexRepositoryFactoryIntegrationTest.shouldThrowInternalGemfireErrorWhenIOExceptionEncounteredConsistentlyDuringComputingRepository(IndexRepositoryFactoryIntegrationTest.java:102) > E.g. thenReturn() may be missing. > Examples of correct stubbing: > when(mock.isOk()).thenReturn(true); > when(mock.isOk()).thenThrow(exception); > doThrow(exception).when(mock).someVoidMethod(); > Hints: > 1. missing thenReturn() > 2. you are trying to stub a final method, which is not supported > 3. you are stubbing the behaviour of another mock inside before > 'thenReturn' instruction is completed > at > org.apache.geode.cache.lucene.internal.IndexRepositoryFactoryIntegrationTest.shouldThrowInternalGemfireErrorWhenIOExceptionEncounteredConsistentlyDuringComputingRepository(IndexRepositoryFactoryIntegrationTest.java:102) > {noformat} > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > [http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0388/test-results/integrationTest/1601691512/] > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Test report artifacts from this job are available at: > [http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0388/test-artifacts/1601691512/integrationtestfiles-OpenJDK11-1.14.0-build.0388.tgz] > -- This message was sent by Atlassian Jira (v8.3.4#803005)