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 /docs | |
parent | Ignore .envrc for direnv users (#12335) (diff) | |
download | synapse-15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216.tar.xz |
Remove `dockerfile-pgtests` (#12336)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/contributing_guide.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/development/contributing_guide.md b/docs/development/contributing_guide.md index afa8766f8d..9db9352c9e 100644 --- a/docs/development/contributing_guide.md +++ b/docs/development/contributing_guide.md @@ -220,27 +220,6 @@ export SYNAPSE_POSTGRES_PASSWORD=mydevenvpassword trial ``` -#### Prebuilt container - -Since configuring PostgreSQL can be fiddly, we can make use of a pre-made -Docker container to set up PostgreSQL and run our tests for us. To do so, run - -```shell -scripts-dev/test_postgresql.sh -``` - -Any extra arguments to the script will be passed to `tox` and then to `trial`, -so we can run a specific test in this container with e.g. - -```shell -scripts-dev/test_postgresql.sh tests.replication.test_sharded_event_persister.EventPersisterShardTestCase -``` - -The container creates a folder in your Synapse checkout called -`.tox-pg-container` and uses this as a tox environment. The output of any -`trial` runs goes into `_trial_temp` in your synapse source directory — the same -as running `trial` directly on your host machine. - ## Run the integration tests ([Sytest](https://github.com/matrix-org/sytest)). The integration tests are a more comprehensive suite of tests. They |