Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 9315382

Browse files
author
David Robertson
committed
Remove dockerfile-pgtests
AFAICS these aren't used any more. They're going to break when I do poetry work (#11537), because tox won't (easily) recreate the locked poetry environment. I think it's less effort to throw it away than to fix it.
1 parent 8a519f8 commit 9315382

File tree

4 files changed

+0
-89
lines changed

4 files changed

+0
-89
lines changed

docker/Dockerfile-pgtests

-30
This file was deleted.

docker/run_pg_tests.sh

-19
This file was deleted.

docs/development/contributing_guide.md

-21
Original file line numberDiff line numberDiff line change
@@ -220,27 +220,6 @@ export SYNAPSE_POSTGRES_PASSWORD=mydevenvpassword
220220
trial
221221
```
222222

223-
#### Prebuilt container
224-
225-
Since configuring PostgreSQL can be fiddly, we can make use of a pre-made
226-
Docker container to set up PostgreSQL and run our tests for us. To do so, run
227-
228-
```shell
229-
scripts-dev/test_postgresql.sh
230-
```
231-
232-
Any extra arguments to the script will be passed to `tox` and then to `trial`,
233-
so we can run a specific test in this container with e.g.
234-
235-
```shell
236-
scripts-dev/test_postgresql.sh tests.replication.test_sharded_event_persister.EventPersisterShardTestCase
237-
```
238-
239-
The container creates a folder in your Synapse checkout called
240-
`.tox-pg-container` and uses this as a tox environment. The output of any
241-
`trial` runs goes into `_trial_temp` in your synapse source directory — the same
242-
as running `trial` directly on your host machine.
243-
244223
## Run the integration tests ([Sytest](https://github.com/matrix-org/sytest)).
245224

246225
The integration tests are a more comprehensive suite of tests. They

scripts-dev/test_postgresql.sh

-19
This file was deleted.

0 commit comments

Comments
 (0)