File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,25 @@ For Goland:
188188 * Under "Run"->"Edit Configurations..."->"Templates"->"Go Test", add ` COMPLEMENT_BASE_IMAGE=complement-dendrite:latest `
189189 * Then you can right-click on any test file or test case and "Run <test name >".
190190
191+
192+
193+ ### Access database for homeserver after Complement test runs
194+
195+
196+ For Synapse:
197+
198+ ```
199+ # You can use `docker ps -f name=complement_` to just filter to the Complement containers
200+ $ docker ps
201+ $ docker exec -it complement_1_hs_with_application_service.hs1_2 /bin/bash
202+
203+ $ apt-get update && apt-get install -y sqlite3
204+
205+ $ sqlite3
206+ > .open /conf/homeserver.db
207+ ```
208+
209+
191210### What do I need to know if I'm coming from sytest?
192211
193212Sytest has a concept of a ` fixture ` to configure the homeserver or test in a particular way, these are replaced with a ` Blueprint ` in Complement.
You can’t perform that action at this time.
0 commit comments