MatrixSynapse/tests
Sean Quah 6d14fdc271
Make sqlite database migrations transactional again, part two (#14926)
#14910 fixed the regression introduced by #13873 where sqlite database
migrations would no longer run inside a transaction. However, it
committed the transaction before Synapse updated its bookkeeping of
which migrations have been run, which means that migrations may be run
again after they have completed successfully.

Leave the transaction open at the end of `executescript`, to restore the
old, correct behaviour. Also make the PostgreSQL behaviour consistent
with SQLite.

Fixes #14909.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-01-31 11:03:55 +00:00
..
api
app
appservice
config
crypto
events Add missing type hints for tests.events. (#14904) 2023-01-25 15:14:03 -05:00
federation Fix type hints in knocking tests. (#14887) 2023-01-25 14:38:20 -05:00
handlers Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00
http
logging Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
metrics
module_api
push Handle malformed values of `notification.room` in power level events (#14942) 2023-01-30 21:29:30 +00:00
replication
rest Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
scripts
server_notices
state
storage Make sqlite database migrations transactional again, part two (#14926) 2023-01-31 11:03:55 +00:00
test_utils
types
util
__init__.py
server.py
test_distributor.py
test_event_auth.py Handle malformed values of `notification.room` in power level events (#14942) 2023-01-30 21:29:30 +00:00
test_federation.py
test_mau.py
test_phone_home.py
test_rust.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00
utils.py