diff options
author | David Robertson <davidr@element.io> | 2022-03-31 11:30:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 11:30:07 +0100 |
commit | 15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216 (patch) | |
tree | 1c5d6dbe0fea948e97c10a3751eb98e4815e2441 /docker/run_pg_tests.sh | |
parent | Ignore .envrc for direnv users (#12335) (diff) | |
download | synapse-15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216.tar.xz |
Remove `dockerfile-pgtests` (#12336)
Diffstat (limited to 'docker/run_pg_tests.sh')
-rwxr-xr-x | docker/run_pg_tests.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docker/run_pg_tests.sh b/docker/run_pg_tests.sh deleted file mode 100755 index b22b6ef16b..0000000000 --- a/docker/run_pg_tests.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -# This script runs the PostgreSQL tests inside a Docker container. It expects -# the relevant source files to be mounted into /src (done automatically by the -# caller script). It will set up the database, run it, and then use the tox -# configuration to run the tests. - -set -e - -# Set PGUSER so Synapse's tests know what user to connect to the database with -export PGUSER=postgres - -# Start the database -sudo -u postgres /usr/lib/postgresql/10/bin/pg_ctl -w -D /var/lib/postgresql/data start - -# Run the tests -cd /src -export TRIAL_FLAGS="-j 4" -tox --workdir=./.tox-pg-container -e py37-postgres "$@" |