From 242c4a3febfe364ac29267de527c085b8915e6cd 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 17fc6559b..e481139a6 100644 --- a/src/test/regress/create_schedule +++ b/src/test/regress/create_schedule @@ -1,6 +1,2 @@ -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 -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 partitioned_indexes_create test: connectivity_checks