synapse/changelog.d
David Robertson d3cf0730f8
Optionally use an on-disk sqlite db in tests (#11702)
* Optionally use an on-disk sqlite db in tests

When debugging a test it is sometimes useful to inspect the state of the
DB. This is not easy when the db is in-memory: one cannot attach the
sqlite CLI to another process's DB.

With this change, if SYNAPSE_TEST_PERSIST_SQLITE_DB is set, we use
 `_trial_temp/test.db` as our sqlite database. One can then use 
`sqlite3 _trial_temp/test.db` and query to your heart's content.

The DB is destroyed and recreated between different test cases.

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-01-07 19:13:41 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
11530.bugfix Strip unauthorized fields from unsigned object in events received over federation (#11530) 2022-01-06 09:09:30 -08:00
11587.bugfix Cache empty responses from /user/devices (#11587) 2022-01-05 13:33:28 +00:00
11593.bugfix Fix get federation status of destination if no error occured (#11593) 2022-01-05 14:46:50 -05:00
11612.misc Bundle aggregations outside of the serialization method. (#11612) 2022-01-07 09:10:46 -05:00
11667.bugfix Fix space hierarchy endpoint to match MSC2946 (#11667) 2022-01-05 20:33:43 +00:00
11672.feature Make room creations denied by user_may_create_room cause an M_FORBIDDEN error to be returned, not M_UNKNOWN (#11672) 2022-01-06 13:16:42 +00:00
11682.removal Remove the /send_relation endpoint. (#11682) 2022-01-06 19:00:34 +00:00
11685.misc Run pyupgrade --py37-plus --keep-percent-format on Synapse (#11685) 2022-01-05 09:53:05 -08:00
11693.misc Remove debug logging for #4422 (#11693) 2022-01-06 12:44:36 +00:00
11699.misc Remove a Python 2-ism and improve type hints. (#11699) 2022-01-06 18:08:48 +00:00
11701.misc Test that bans win a join against a race when computing /sync response (#11701) 2022-01-07 16:43:21 +00:00
11702.misc Optionally use an on-disk sqlite db in tests (#11702) 2022-01-07 19:13:41 +00:00