You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/23 11:31:00 UTC

[jira] [Resolved] (HIVE-26021) Change integration tests under DBInstallBase to CheckIn tests

     [ https://issues.apache.org/jira/browse/HIVE-26021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis resolved HIVE-26021.
----------------------------------------
    Fix Version/s: 4.0.0-alpha-2
         Assignee: Stamatis Zampetakis
       Resolution: Fixed

Fixed in [https://github.com/apache/hive/commit/67ef629486ba38b1d3e0f400bee0073fa3c4e989.] Thanks for the review [~pvary] !

> Change integration tests under DBInstallBase to CheckIn tests
> -------------------------------------------------------------
>
>                 Key: HIVE-26021
>                 URL: https://issues.apache.org/jira/browse/HIVE-26021
>             Project: Hive
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-2
>
>          Time Spent: 2h 20m
>  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)