Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
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
- is caused by
-
HIVE-25792 Recompile the query if CBO has failed
- Closed
- links to