Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4570

Phoenix pherf tests fail with Mockito dependency issue.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 5.0.0-alpha
    • None

    Description

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.006 s <<< FAILURE! - in org.apache.phoenix.pherf.SchemaReaderIT
      org.apache.phoenix.pherf.SchemaReaderIT  Time elapsed: 0.005 s  <<< ERROR!
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.ClassNotFoundException: org.mockito.stubbing.Answer
      
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.apache.phoenix.pherf.PherfMainIT
      org.apache.phoenix.pherf.PherfMainIT  Time elapsed: 0.004 s  <<< ERROR!
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.ClassNotFoundException: org.mockito.stubbing.Answer
      
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.apache.phoenix.pherf.DataIngestIT
      org.apache.phoenix.pherf.DataIngestIT  Time elapsed: 0.003 s  <<< ERROR!
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.NoClassDefFoundError: org/mockito/stubbing/Answer
      Caused by: java.lang.ClassNotFoundException: org.mockito.stubbing.Answer
      

      Looks like a pretty easy dependency issue to fix up.

      Attachments

        1. PHOENIX-4570.patch
          2 kB
          Josh Elser
        2. PHOENIX-4570.002.patch
          4 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: