MatrixSynapse/tests/util
Sean Quah 79e7c2c426
Fix edge case where a `Linearizer` could get stuck ()
Just after a task acquires a contended `Linearizer` lock, it sleeps.
If the task is cancelled during this sleep, we need to release the lock.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-05 17:19:16 +01:00
..
caches Add cancellation support to `@cached` and `@cachedList` decorators () 2022-03-14 19:04:29 +00:00
__init__.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
test_async_helpers.py Add `delay_cancellation` utility function () 2022-03-14 17:52:15 +00:00
test_batching_queue.py Rewrite the KeyRing () 2021-06-02 16:37:59 +01:00
test_check_dependencies.py Try to detect borked package installations. () 2022-03-18 19:03:46 +00:00
test_dict_cache.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
test_expiring_cache.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_file_consumer.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
test_itertools.py Use inline type hints in `tests/` () 2021-07-13 11:52:58 +01:00
test_linearizer.py Fix edge case where a `Linearizer` could get stuck () 2022-04-05 17:19:16 +01:00
test_logcontext.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_logformatter.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
test_lrucache.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_ratelimitutils.py Use direct references for configuration variables (part 4). () 2021-09-23 12:03:01 -04:00
test_retryutils.py Remove `HomeServer.get_datastore()` () 2022-02-23 11:04:02 +00:00
test_rwlock.py Update docstrings for `ReadWriteLock` tests () 2022-04-05 16:54:40 +01:00
test_stream_change_cache.py Update black, and run auto formatting over the codebase () 2021-02-16 22:32:34 +00:00
test_stringutils.py Change the format of access tokens away from macaroons () 2021-05-12 15:04:51 +01:00
test_threepids.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
test_treecache.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_wheel_timer.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00