- 18 Feb, 2020 1 commit
-
-
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.
Patrick Steinhardt committed
-
- 07 Jun, 2019 1 commit
-
-
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.
Patrick Steinhardt committed
-
- 01 Dec, 2018 1 commit
-
-
Use the new object_type enumeration names within the codebase.
Edward Thomson committed
-
- 20 Jun, 2016 1 commit
-
-
Patrick Steinhardt committed
-
- 07 Jun, 2014 1 commit
-
-
Philip Kelley committed
-
- 14 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 07 May, 2013 1 commit
-
-
Russell Belfer committed
-
- 02 May, 2013 1 commit
-
-
We need to hammer the packfile open phase harder in the thread tests, in addition to the cache API.
Russell Belfer committed
-
- 22 Apr, 2013 4 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
The indexer was creating a packfile object separately from the code in pack.c which was a problem since I put a call to git_mutex_init into just pack.c. This commit updates the pack function for creating a new pack object (i.e. git_packfile_check()) so that it can be used in both places and then makes indexer.c use the shared initialization routine. There are also a few minor formatting and warning message fixes.
Russell Belfer committed -
This adds some basic tests for the oidmap just to make sure that collisions, etc. are dealt with correctly. This also adds some tests for the new caching that check if items are inserted (or not inserted) properly into the cache, and that the cache can hold up in a multithreaded environment without error.
Russell Belfer committed
-