From 84dcd659ff3f439e3783efea19b3df875c652acd Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Wed, 23 Feb 2022 11:32:55 +0100 Subject: [PATCH] Parallelize all arbitrary config setup scripts When running only a single test using `arbitrary-configs-base` a large part of the time is spent in setup of the tables. These separate setup scripts can all be safely parallelized. On my machine this reduces the runtime of the following command from ~4.5 to ~3.5 seconds: ```bash make -C src/test/regress/ check-arbitrary-base CONFIGS=PostgresConfig EXTRA_TESTS=prepared_statements_1 ``` And the runtime of the runtime of the following command is reduced from ~24 seconds to ~14 seconds: ```bash make -C src/test/regress/ check-arbitrary-base CONFIGS=CitusDefaultClusterConfig EXTRA_TESTS=prepared_statements_1 ``` --- src/test/regress/create_schedule | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/regress/create_schedule b/src/test/regress/create_schedule index 0ba1a7f05..d9034a93e 100644 --- a/src/test/regress/create_schedule +++ b/src/test/regress/create_schedule @@ -1,8 +1,4 @@ -test: intermediate_result_pruning_create -test: prepared_statements_create_load ch_benchmarks_create_load -test: dropped_columns_create_load distributed_planning_create_load -test: local_dist_join_load nested_execution_create -test: partitioned_indexes_create +test: intermediate_result_pruning_create prepared_statements_create_load ch_benchmarks_create_load dropped_columns_create_load distributed_planning_create_load local_dist_join_load nested_execution_create partitioned_indexes_create test: connectivity_checks test: schemas_create test: views_create