aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver-test/cache-tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* mark up some tests with doctest::skip()Stefan Boberg11 days1-7/+1
|
* some more test improvements CHECK -> REQUIREStefan Boberg11 days1-1/+1
|
* ZenServerProcess API changes (#719)Stefan Boberg2026-01-191-10/+10
| | | | | | | This refactor aims to improve the `ZenServerProcess` classes by making them useful for managing child zenserver instances in more scenarios than just automated tests. This involves changing some functions to not talk about "test directory" and instead use "data directory" etc As a consequence of the API changes, some tests have changed accordingly. The code includes som reference to the "hub" mode but there is not yet any other code using this mode, it's just included in this PR to simplify future merges.
* Ensure upstream put propagation includes overwritezousar2025-12-191-1/+1
| | | | When changing the default limit-overwrite behavior, a unit test surfaced a bug where an put of data with overwrite cache policy would not get propagated via zen's built-in upstream mechanism with a matching overwrite cache policy to the upstream. This change ensures that it does and leaves the unit test configured to exercise this scenario.
* Change default limit-overwrite behavior to truezousar2025-12-171-3/+4
|
* batch op not in destructor (#676)Dan Engelbrecht2025-12-041-0/+125
| | | | | * use fixed vectors for batch requests * refactor cache batch value put/get to not execute code that can throw execeptions in destructor * extend test with multi-bucket requests
* RawOffset can be anything and we expect an empty buffer to be returned along ↵Dan Engelbrecht2025-11-261-0/+182
| | | | with RawSize = 0 if the offset was out of bounds for the value. (#666)
* speed up tests (#555)Dan Engelbrecht2025-10-061-8/+8
| | | | | | | | | | | | * faster FileSystemTraversal test * faster jobqueue test * faster NamedEvent test * faster cache tests * faster basic http tests * faster blockstore test * faster cache store tests * faster compactcas tests * more responsive zenserver launch * tweak worker pool sizes in tests
* cacherequests helpers test only (#551)Dan Engelbrecht2025-10-031-2/+3
| | | | * don't use cacherequests utils in cache_cmd.cpp * make zenutil/cacherequests code into test code helpers only
* split zenserver-test monolith into multiple source files (#528)Stefan Boberg2025-09-291-0/+2365