Stamatis Zampetakis created HIVE-25667: ------------------------------------------
Summary: Unify code managing JDBC databases in tests Key: HIVE-25667 URL: https://issues.apache.org/jira/browse/HIVE-25667 Project: Hive Issue Type: Task Components: Testing Infrastructure Affects Versions: 4.0.0 Reporter: Stamatis Zampetakis Currently there are two class hierarchies managing JDBC databases in tests, [DatabaseRule| https://github.com/apache/hive/blob/d35de014dd49fdcfe0aacb68e6c587beff6d1dea/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/rules/DatabaseRule.java] and [AbstractExternalDB|https://github.com/apache/hive/blob/d35de014dd49fdcfe0aacb68e6c587beff6d1dea/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/AbstractExternalDB.java]. There are many similarities between these hierarchies and certain parts are duplicated. The goal of this JIRA is to refactor the aforementioned hierarchies to reduce code duplication and improve extensibility. -- This message was sent by Atlassian Jira (v8.3.4#803005)