Skip to content

Commit 36e85d8

Browse files
author
Alexander Korotkov
committed
Stop cluster before looking for test results.
1 parent 60c696e commit 36e85d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

travis/pg-travis-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ fi
119119
# run regression tests
120120
PGPORT=55435 PGUSER=$USER PG_CONFIG=$config_path make installcheck USE_PGXS=1 || status=$?
121121

122+
# stop cluster
123+
$pg_ctl_path -D $CLUSTER_PATH stop -l postgres.log -w
124+
122125
# show diff if it exists
123126
if test -f regression.diffs; then cat regression.diffs; fi
124127

@@ -140,9 +143,6 @@ for corefile in $(find /tmp/ -name '*.core' 2>/dev/null) ; do
140143
gdb --batch --quiet -ex "thread apply all bt full" -ex "quit" $binary $corefile
141144
done
142145

143-
# stop cluster
144-
$pg_ctl_path -D $CLUSTER_PATH stop -l postgres.log -w
145-
146146
#generate *.gcov files
147147
if [ $CHECK_TYPE == "valgrind" ] && [ $CC = "clang" ]; then
148148
bash <(curl -s https://codecov.io/bash) -x "llvm-cov gcov"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy