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

IntegrationTest failure IndexRepositoryFactoryIntegrationTest.shouldThrowInternalGemfireErrorWhenIOExceptionEncounteredConsistentlyDuringComputingRepository FAILED

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.14.0
    • Component/s: lucene
    • Labels:
      None

      Description

      https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK11/builds/478

       

      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) 

       

       

      =============== 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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                donalevans Donal Evans
                Reporter:
                mhansonp Mark Hanson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: