MatrixSynapse/tests
Erik Johnston b970cb0e96 Refactor request sending to have better excpetions (#4358)
* Correctly retry and back off if we get a HTTPerror response

* Refactor request sending to have better excpetions

MatrixFederationHttpClient blindly reraised exceptions to the caller
without differentiating "expected" failures (e.g. connection timeouts
etc) versus more severe problems (e.g. programming errors).

This commit adds a RequestSendFailed exception that is raised when
"expected" failures happen, allowing the TransactionQueue to log them as
warnings while allowing us to log other exceptions as actual exceptions.
2019-01-08 11:04:28 +00:00
..
api create support user (#4141) 2018-12-14 18:20:59 +00:00
app
appservice
config Merge branch 'develop' of github.com:matrix-org/synapse into erikj/alias_disallow_list 2018-10-25 15:25:31 +01:00
crypto Check logcontexts before and after each test (#4190) 2018-11-27 13:47:18 +11:00
events Fix a number of flake8 errors 2018-10-24 10:39:03 +01:00
federation
handlers create support user (#4141) 2018-12-14 18:20:59 +00:00
http Refactor request sending to have better excpetions (#4358) 2019-01-08 11:04:28 +00:00
push Fix logcontext leak in http pusher test 2018-11-19 17:07:01 +00:00
replication Clean up event accesses and tests 2018-11-02 13:44:14 +00:00
rest Remove v1 only REST APIs now we don't ship matrix console (#4334) 2018-12-29 23:12:30 +11:00
scripts Port register_new_matrix_user to Python 3 and add tests (#4085) 2018-10-26 22:05:22 +11:00
server_notices fix broken test 2018-10-25 23:15:03 +01:00
state Add helpers for getting prev and auth events (#4139) 2018-11-06 00:35:15 +11:00
storage create support user (#4141) 2018-12-14 18:20:59 +00:00
util
__init__.py Patch defer.inlineCallbacks to check logcontexts in tests (#4205) 2018-12-04 11:30:32 +01:00
patch_inline_callbacks.py Patch defer.inlineCallbacks to check logcontexts in tests (#4205) 2018-12-04 11:30:32 +01:00
server.py Fix IP URL previews on Python 3 (#4215) 2018-12-22 01:56:13 +11:00
test_distributor.py
test_dns.py
test_event_auth.py
test_federation.py Fix some tests which leaked logcontexts 2018-11-19 17:07:01 +00:00
test_mau.py Add option to track MAU stats (but not limit people) (#3830) 2018-11-15 18:08:27 +00:00
test_metrics.py Fix test_metrics.py compatibility prometheus_client 0.5 2018-12-21 01:53:57 +01:00
test_preview.py
test_server.py Fix some tests which leaked logcontexts 2018-11-19 17:07:01 +00:00
test_state.py
test_terms_auth.py Fix the terms UI auth tests 2018-11-15 23:00:28 -07:00
test_test_utils.py
test_types.py Factor SSO success handling out of CAS login (#4264) 2018-12-07 13:10:07 +01:00
test_visibility.py
unittest.py create support user (#4141) 2018-12-14 18:20:59 +00:00
utils.py Return well_known in /login response (#4319) 2018-12-24 10:44:33 +01:00