[
https://issues.apache.org/jira/browse/HIVE-26021?focusedWorklogId=783904&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-783904
]
ASF GitHub Bot logged work on HIVE-26021:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jun/22 16:59
Start Date: 22/Jun/22 16:59
Worklog Time Spent: 10m
Work Description: zabetak opened a new pull request, #3399:
URL: https://github.com/apache/hive/pull/3399
### What changes were proposed in this pull request and why?
1. Simplify execution of tests by developers and CI
2. Extend test coverage to include mysql and mssql install upgrade tests
3. Rename tests to better reflect their purpose (not integration tests
anymore) but more importantly to allow Jenkins splitTests step (
https://plugins.jenkins.io/parallel-test-executor/) to pick them up
automatically.
### Does this PR introduce _any_ user-facing change?
Only developers are affected since tests are now run differently.
### How was this patch tested?
```
mvn test -Dtest.groups=MetastoreCheckinTest -pl
standalone-metastore/metastore-server
-Dtest=ITestDerby,ITestOracle,ITestPostgres,ITestMssql,ITestMysql
```
Issue Time Tracking
-------------------
Worklog Id: (was: 783904)
Time Spent: 1h 10m (was: 1h)
> Change integration tests under DBInstallBase to regular unit tests
> ------------------------------------------------------------------
>
> Key: HIVE-26021
> URL: https://issues.apache.org/jira/browse/HIVE-26021
> Project: Hive
> Issue Type: Improvement
> Components: Tests
> Reporter: Stamatis Zampetakis
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> After HIVE-18588, some tests including those under
> [DBInstallBase|https://github.com/apache/hive/blob/1139c4b14db82a9e2316196819b35cfb713f34b5/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/DbInstallBase.java]
> class have been marked as integration tests mainly to keep the test duration
> low.
> Nowadays, Hive developers rarely run all tests locally so separating between
> integration tests and unit tests does not provide a clear benefit. The
> separation adds maintenance cost and makes their execution more difficult
> scaring people away.
> The goal of this issue is to change the tests under {{DBInstallBase}} from
> "integration" tests back to regular unit tests and run them as part of the
> standard maven test phase without any fancy arguments.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)