Skip to content

Commit b625efd

Browse files
authored
[opt](test) shorten the test case runtime of hive (#59697)
move some test cases to p2, and remove hive2 from some test cases
1 parent 6093f58 commit b625efd

File tree

10 files changed

+4
-1234
lines changed

10 files changed

+4
-1234
lines changed

regression-test/data/external_table_p0/hive/test_hive_compress_type.out

Lines changed: 0 additions & 572 deletions
Large diffs are not rendered by default.

regression-test/data/external_table_p0/hive/test_hive_special_char_partition.out

Lines changed: 0 additions & 248 deletions
Large diffs are not rendered by default.

regression-test/data/external_table_p0/hive/write/test_hive_text_write_insert.out

Lines changed: 0 additions & 410 deletions
Large diffs are not rendered by default.

regression-test/data/external_table_p0/trino_connector/hive/test_trino_hive_tpch_sf1_orc.out renamed to regression-test/data/external_table_p2/trino_connector/hive/test_trino_hive_tpch_sf1_orc.out

File renamed without changes.

regression-test/data/external_table_p0/trino_connector/hive/test_trino_hive_tpch_sf1_parquet.out renamed to regression-test/data/external_table_p2/trino_connector/hive/test_trino_hive_tpch_sf1_parquet.out

File renamed without changes.

regression-test/suites/external_table_p0/hive/test_hive_compress_type.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ suite("test_hive_compress_type", "p0,external,hive,external_docker,external_dock
2222
return;
2323
}
2424

25-
for (String hivePrefix : ["hive2", "hive3"]) {
25+
for (String hivePrefix : ["hive3"]) {
2626
String hms_port = context.config.otherConfigs.get(hivePrefix + "HmsPort")
2727
String catalog_name = "${hivePrefix}_test_hive_compress_type"
2828
String externalEnvIp = context.config.otherConfigs.get("externalEnvIp")

regression-test/suites/external_table_p0/hive/test_hive_special_char_partition.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ suite("test_hive_special_char_partition", "p0,external,hive,external_docker,exte
2222
return;
2323
}
2424

25-
for (String hivePrefix : ["hive2", "hive3"]) {
25+
for (String hivePrefix : ["hive3"]) {
2626

2727
setHivePrefix(hivePrefix)
2828
String hms_port = context.config.otherConfigs.get(hivePrefix + "HmsPort")

regression-test/suites/external_table_p0/hive/write/test_hive_text_write_insert.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ suite("test_hive_text_write_insert", "p0,external,hive,external_docker,external_
881881
return;
882882
}
883883

884-
for (String hivePrefix : ["hive2", "hive3"]) {
884+
for (String hivePrefix : ["hive3"]) {
885885
setHivePrefix(hivePrefix)
886886
try {
887887
String hms_port = context.config.otherConfigs.get(hivePrefix + "HmsPort")

regression-test/suites/external_table_p0/trino_connector/hive/test_trino_hive_tpch_sf1_orc.groovy renamed to regression-test/suites/external_table_p2/trino_connector/hive/test_trino_hive_tpch_sf1_orc.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
suite("test_trino_hive_tpch_sf1_orc", "p0,external,hive,external_docker,external_docker_hive") {
18+
suite("test_trino_hive_tpch_sf1_orc", "p2,external,hive,external_docker,external_docker_hive") {
1919

2020
String enable_file_cache = "false"
2121
def q01 = {

regression-test/suites/external_table_p0/trino_connector/hive/test_trino_hive_tpch_sf1_parquet.groovy renamed to regression-test/suites/external_table_p2/trino_connector/hive/test_trino_hive_tpch_sf1_parquet.groovy

File renamed without changes.

0 commit comments

Comments
 (0)