MatrixSynapse/tests
Richard van der Hoff 31c15dcb80
Refactor matrixfederationclient to fix logging (#3906)
We want to wait until we have read the response body before we log the request
as complete, otherwise a confusing thing happens where the request appears to
have completed, but we later fail it.

To do this, we factor the salient details of a request out to a separate
object, which can then keep track of the txn_id, so that it can be logged.
2018-09-18 18:17:15 +01:00
..
api Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
app Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
appservice Run black. 2018-08-10 23:54:09 +10:00
config Run black. 2018-08-10 23:54:09 +10:00
crypto Run tests under PostgreSQL (#3423) 2018-08-13 16:47:46 +10:00
events Run black. 2018-08-10 23:54:09 +10:00
federation Run black. 2018-08-10 23:54:09 +10:00
handlers Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
http Refactor matrixfederationclient to fix logging (#3906) 2018-09-18 18:17:15 +01:00
replication Refactor matrixfederationclient to fix logging (#3906) 2018-09-18 18:17:15 +01:00
rest Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
server_notices Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
storage improve naming 2018-09-12 16:22:15 +01:00
util Run black. 2018-08-10 23:54:09 +10:00
__init__.py Run tests under PostgreSQL (#3423) 2018-08-13 16:47:46 +10:00
server.py Refactor matrixfederationclient to fix logging (#3906) 2018-09-18 18:17:15 +01:00
test_distributor.py Run black. 2018-08-10 23:54:09 +10:00
test_dns.py Run black. 2018-08-10 23:54:09 +10:00
test_event_auth.py Run black. 2018-08-10 23:54:09 +10:00
test_federation.py Run tests under PostgreSQL (#3423) 2018-08-13 16:47:46 +10:00
test_mau.py Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
test_metrics.py Tests 2018-09-14 15:08:37 +01:00
test_preview.py Run black. 2018-08-10 23:54:09 +10:00
test_server.py Fix the tests 2018-08-15 15:12:23 +01:00
test_state.py Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00
test_test_utils.py Run black. 2018-08-10 23:54:09 +10:00
test_types.py Fix up tests 2018-08-28 17:21:05 +01:00
test_visibility.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
unittest.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
utils.py Port tests/ to Python 3 (#3808) 2018-09-07 02:58:18 +10:00