Stamatis Zampetakis created HIVE-26349:
------------------------------------------
Summary: TestOperatorCmp/TestReOptimization fail silently due to
incompatible configuration
Key: HIVE-26349
URL: https://issues.apache.org/jira/browse/HIVE-26349
Project: Hive
Issue Type: Bug
Components: Testing Infrastructure
Reporter: Stamatis Zampetakis
Assignee: Stamatis Zampetakis
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:
{noformat}
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{noformat}
+Steps to reproduce:+
{code:bash}
mvn test -Dtest=TestOperatorCmp
mvn test -Dtest=TestReOptimization
{code}
{noformat}
[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] ------------------------------------------------------------------------
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)