Use installcheck-parallel in pg_upgrade's testsuite.
authorAndres Freund <andres@anarazel.de>
Wed, 7 Nov 2018 17:22:48 +0000 (09:22 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 7 Nov 2018 17:22:48 +0000 (09:22 -0800)
The installcheck run takes a sizable fraction of test.sh to run. Using
a parallel schedule reduces that noticably.

It's possible that we want to backpatch this at some point, to reduce
buildfarm times, but for now lets just see if this upsets the
buildfarm.

Author: Andres Freund
Discussion: https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de

src/bin/pg_upgrade/test.sh

index f895663dc9ff4bae3e0d057e801b9fee2cea7e3b..1d3272dabfa5da6474d4ddb11e65d07dddb535f5 100644 (file)
@@ -169,7 +169,7 @@ createdb "$dbname1" || createdb_status=$?
 createdb "$dbname2" || createdb_status=$?
 createdb "$dbname3" || createdb_status=$?
 
-if "$MAKE" -C "$oldsrc" installcheck; then
+if "$MAKE" -C "$oldsrc" installcheck-parallel; then
    oldpgversion=`psql -X -A -t -d regression -c "SHOW server_version_num"`
 
    # before dumping, get rid of objects not existing in later versions