Hive
  1. Hive
  2. HIVE-6383

Newly added tests in TestJdbcDriver2 from HIVE-4395 is not running

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: JDBC
    • Labels:
      None

      Description

      Newly added tests are not marked with @Test annotation and seemed not running. In my try after adding the annotation, testFetchFirstQuery is failed. Prasad Mujumdar Could you check this?

      1. HIVE-6383.1.patch
        3 kB
        Prasad Mujumdar

        Issue Links

          Activity

          Hide
          Prasad Mujumdar added a comment -

          Navis Thanks for pointing that out. I will take a look.

          Show
          Prasad Mujumdar added a comment - Navis Thanks for pointing that out. I will take a look.
          Hide
          Prasad Mujumdar added a comment -

          Added test annotations and a minor update to the test. Verified that the fetchFirst test passes with the patch.

          Show
          Prasad Mujumdar added a comment - Added test annotations and a minor update to the test. Verified that the fetchFirst test passes with the patch.
          Hide
          Hive QA added a comment -

          Overall: -1 at least one tests failed

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12628318/HIVE-6383.1.patch

          ERROR: -1 due to 2 failed/errored test(s), 5093 tests executed
          Failed tests:

          org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_revoke_table_priv
          org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority2
          

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1294/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1294/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          Tests exited with: TestsFailedException: 2 tests failed
          

          This message is automatically generated.

          ATTACHMENT ID: 12628318

          Show
          Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12628318/HIVE-6383.1.patch ERROR: -1 due to 2 failed/errored test(s), 5093 tests executed Failed tests: org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_revoke_table_priv org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority2 Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1294/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1294/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed This message is automatically generated. ATTACHMENT ID: 12628318
          Hide
          Thejas M Nair added a comment -

          +1

          Show
          Thejas M Nair added a comment - +1
          Hide
          Prasad Mujumdar added a comment -

          Thanks Thejas!
          The failed tests seems to be unrelated. The patch only changes TestJdbcDriver2.java test and not not touched any other code.

          Show
          Prasad Mujumdar added a comment - Thanks Thejas! The failed tests seems to be unrelated. The patch only changes TestJdbcDriver2.java test and not not touched any other code.
          Hide
          Prasad Mujumdar added a comment -

          Patch committed to trunk.
          Thanks Thejas for the review!

          Show
          Prasad Mujumdar added a comment - Patch committed to trunk. Thanks Thejas for the review!

            People

            • Assignee:
              Prasad Mujumdar
              Reporter:
              Navis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development