Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22415 Upgrade to Java 11
  3. HIVE-23209

ptest2 compilation failure after HIVE-21603 - upgrade mockito-core in testutils/ptest2

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Description

      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/context/TestCloudExecutionContextProvider.java:[21,26] cannot find symbol
        symbol:   class ArgumentMatchers
        location: package org.mockito
      [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/context/TestCloudExecutionContextProvider.java:[21,1] static import only from classes and interfaces
      

      repro

      cd testutils/ptest2
      mvn clean install -DskipTests
      

        Attachments

        1. HIVE-23209.01.patch
          0.4 kB
          László Bodor

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              abstractdog László Bodor Assign to me
              Reporter:
              abstractdog László Bodor

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment