summary refs log tree commit diff
path: root/tests/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove spurious unittest.DEBUGRichard van der Hoff2018-05-021-1/+0
* Fix a class of logcontext leaksRichard van der Hoff2018-05-021-11/+56
* Merge branch 'develop' into rav/deferred_timeoutRichard van der Hoff2018-04-272-2/+3
|\
| * Make tests py3 compatibleAdrian Tschira2018-04-162-2/+3
* | Use deferred.addTimeout instead of time_bound_deferredRichard van der Hoff2018-04-231-33/+0
|/
* Fix overzealous cache invalidationRichard van der Hoff2018-04-051-0/+46
* Merge pull request #2804 from matrix-org/erikj/file_consumerErik Johnston2018-01-181-0/+176
|\
| * Move test stuff to testsErik Johnston2018-01-181-8/+46
| * Add decent impl of a FileConsumerErik Johnston2018-01-171-0/+138
* | Optimise LoggingContext creation and copyingRichard van der Hoff2018-01-161-8/+8
|/
* Fix name of test_logcontextRichard van der Hoff2017-10-171-0/+0
* Add some tests for make_deferred_yieldableRichard van der Hoff2017-10-171-0/+38
* Fix stackoverflow and logcontexts from linearizerRichard van der Hoff2017-10-111-4/+24
* Make get_state_groups_from_groups faster.Erik Johnston2017-05-171-1/+1
* Fix up testsErik Johnston2017-03-302-1/+41
* Fix the logcontext handling in the cache wrappers (#2077)Richard van der Hoff2017-03-301-0/+91
* Merge pull request #2052 from matrix-org/rav/time_bound_deferredRichard van der Hoff2017-03-231-0/+33
|\
| * Fix time_bound_deferred to throw the right exceptionRichard van der Hoff2017-03-231-0/+33
* | Fix caching of remote servers' signature keysRichard van der Hoff2017-03-222-0/+100
|/
* Stop preserve_fn leaking context into the reactorRichard van der Hoff2017-03-181-0/+61
* Tidy up testErik Johnston2017-01-171-12/+12
* Speed up cache size calculationErik Johnston2017-01-171-15/+15
* Add ExpiringCache testsErik Johnston2017-01-161-0/+84
* Optionally measure size of cache by sum of length of valuesErik Johnston2017-01-131-0/+25
* Add Limiter: limit concurrent access to resourceErik Johnston2016-11-101-0/+70
* Ensure invalidation list does not grow unboundedlyErik Johnston2016-08-191-0/+40
* Add concept of cache contextsErik Johnston2016-08-191-0/+113
* Add ReadWriteLockErik Johnston2016-07-051-0/+85
* Deduplicate joinsErik Johnston2016-04-071-0/+44
* Add a test for TreeCache.__contains__Mark Haines2016-02-221-0/+6
* Fix flake8 warnings for testsMark Haines2016-02-194-2/+2
* Add wheeltimer implErik Johnston2016-02-171-0/+74
* Fix testErik Johnston2016-02-091-9/+1
* Add testsErik Johnston2016-01-292-0/+19
* Revert all the bits changing keys of eeverything that used LRUCaches to tuplesDavid Baker2016-01-221-22/+22
* Make LRU cache not default to treecache & add options to use itDavid Baker2016-01-221-1/+2
* Test treecache directlyDavid Baker2016-01-221-0/+19
* Add tests for treecache directly and test del_multi at the LruCache level too.David Baker2016-01-221-0/+66
* Change LRUCache to be tree-based so we can delete subtrees.David Baker2016-01-211-22/+22
* copyrightsMatthew Hodgson2016-01-074-4/+4
* Add a unit test for the snapshot cacheMark Haines2015-12-231-0/+60
* Remove the LockManager class because it wasn't being usedMark Haines2015-11-041-108/+0
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-112-4/+2
* Move DictionaryCacheErik Johnston2015-08-041-1/+1
* Add basic dictionary cacheErik Johnston2015-08-041-0/+101
* Add a lru cache classMark Haines2015-02-111-0/+56
* Add a request-id to each log lineMark Haines2014-10-301-0/+43
* Have all unit tests import from our own subclass of trial's unittest TestCase...Paul "LeoNerd" Evans2014-09-121-2/+2
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-032-2/+2
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-132-0/+28
* Reference Matrix Home Servermatrix.org2014-08-122-0/+95