summaryrefslogtreecommitdiff
path: root/tests/object/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: object: decrease number of concurrent cache accessesPatrick Steinhardt2020-02-181-4/+4
| | | | | | | | | In our test case object::cache::fast_thread_rush, we're creating 100 concurrent threads opening a repository and reading objects from it. This test actually fails on ARM32 with an out-of-memory error, which isn't entirely unexpected. Work around the issue by halving the number of threads.
* tests: object: consolidate cache testsPatrick Steinhardt2019-06-071-68/+57
| | | | | | | | | | | The object::cache test module has two tests that do nearly the same thing: given a cache limit, load a certain set of objects and verify if those objects have been cached or not. Convert those tests to the new data-driven initializers to demonstrate how these are to be used. Furthermore, add some additional test data. This conversion is mainly done to show this new facility.
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-26/+26
| | | | Use the new object_type enumeration names within the codebase.
* threads: split up OS-dependent thread codePatrick Steinhardt2016-06-201-2/+2
|
* Win32: Fix object::cache::threadmania test on x64Philip Kelley2014-06-071-2/+2
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+287