Skip to content

Commit f7ae78c

Browse files
committed
try not to restart pg
1 parent 37b421d commit f7ae78c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/materialized/ci/entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ EOF
4141

4242
# Start PostgreSQL, unless suppressed.
4343
if [ -z "${MZ_NO_BUILTIN_POSTGRES:-}" ]; then
44-
(trap 'pg_ctlcluster 16 main stop --mode=fast --force' SIGTERM SIGINT
45-
rm -f /var/run/postgresql/.s.PGSQL.26257.lock
46-
pg_ctlcluster 16 main start
44+
(pg_ctlcluster 16 main start || true
4745
psql -U postgres -c "CREATE ROLE root WITH LOGIN PASSWORD 'root'" || true
4846
psql -U postgres -c "CREATE DATABASE root OWNER root" || true
4947
psql -U root -c "CREATE SCHEMA IF NOT EXISTS consensus; CREATE SCHEMA IF NOT EXISTS storage; CREATE SCHEMA IF NOT EXISTS adapter; CREATE SCHEMA IF NOT EXISTS tsoracle") &

0 commit comments

Comments
 (0)