File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,25 @@ For Goland:
188
188
* Under "Run"->"Edit Configurations..."->"Templates"->"Go Test", add ` COMPLEMENT_BASE_IMAGE=complement-dendrite:latest `
189
189
* Then you can right-click on any test file or test case and "Run <test name >".
190
190
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
+
191
210
### What do I need to know if I'm coming from sytest?
192
211
193
212
Sytest 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