Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26349

TestOperatorCmp/TestReOptimization fail silently due to incompatible configuration

    XMLWordPrintableJSON

Details

    Description

      Running TestOperatorCmp, TestReOptimization currently in master (https://github.com/apache/hive/commit/10e5381cb6a4215c0b25fe0cda0a26a084ba6a89) shows BUILD SUCCESS although the tests are actually failing when executing the @BeforeClass logic.

      Since the error appears inside @BeforeClass the failure remains unnoticed and the only indication that something is wrong is given by the INFO line below:

      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      

      Steps to reproduce:

      mvn test -Dtest=TestOperatorCmp
      mvn test -Dtest=TestReOptimization
      

       

      [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ hive-exec ---
      [INFO] 
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.hadoop.hive.ql.plan.mapping.TestOperatorCmp
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.732 s - in org.apache.hadoop.hive.ql.plan.mapping.TestOperatorCmp
      [INFO] 
      [INFO] Results:
      [INFO] 
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  18.962 s
      [INFO] Finished at: 2022-06-22T12:49:54+02:00
      [INFO] ------------------------------------------------------------------------
      
      

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h