From 2103171774b72389c7cbf2ffaab71fd87005959e Mon Sep 17 00:00:00 2001 From: DMRobertson Date: Thu, 31 Mar 2022 10:30:43 +0000 Subject: deploy: 15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216 --- develop/development/contributing_guide.html | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'develop/development/contributing_guide.html') diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html index e580dfe324..ef7ef965e1 100644 --- a/develop/development/contributing_guide.html +++ b/develop/development/contributing_guide.html @@ -330,19 +330,6 @@ export SYNAPSE_POSTGRES_USER=postgres 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

-
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.

-
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).

The integration tests are a more comprehensive suite of tests. They run a full version of Synapse, including your changes, to check if -- cgit 1.5.1