aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* zenserver-test zcache.rpc.allpolicies: Fix incorrect ValueId in ↵Matt Peters2022-02-221-1/+1
| | | | GetCacheChunks request.
* zenserver-test zcache.rpc.allpolicies: Fix uninitialized Oid.Matt Peters2022-02-221-1/+1
|
* Add feedback about failing checks in zcache.rpc.allpoliciesMatt Peters2022-02-221-37/+54
|
* Fixed crashing websocket test.Per Larsson2022-02-221-3/+1
|
* Stop I/O context when running websocket tests.Per Larsson2022-02-211-1/+2
|
* Initial support for websockets.Per Larsson2022-02-211-0/+96
|\
| * Added option to enable websockets.Per Larsson2022-02-211-1/+1
| |
| * Refactored websocket message.Per Larsson2022-02-211-33/+21
| |
| * Basic websocket service and test.Per Larsson2022-02-181-8/+24
| |
| * Simple websocket client/server test.Per Larsson2022-02-181-4/+96
| |
* | Value propagation fix - Read/Write ValueAPI as CompressedBinary type when ↵mattpetersepic2022-02-181-7/+9
| | | | | | | | | | | | writing to zen and horde upstreams. Return failure from HandleGetCacheRecord if the requested type does not match the cachetype. (#55) * Fix bug with getting values PUT to Jupiter as CompressedBinary. When getting CompressedBinary records from Jupiter, they are expected to now be a record with a reference to the compact binary. This has to be accounted for when performing upstream GETs. * HandleGetCacheRecord: avoid crashing on invalid type, and avoid sending back data that doesn't match the AcceptType.
* | Fixed GCC non-conformant errors regarding "KeyData* KeyData;"Martin Ridgers2022-02-111-7/+7
| |
* | Fixed "UserData* UserData" non-conformancy errors from GCCMartin Ridgers2022-02-111-12/+12
| |
* | Simplify HandleRpcGetCacheChunks (#53)mattpetersepic2022-02-091-0/+623
|/ | | Refactor HandleRpcGetCacheChunks to reduce complexity. Port CacheStore tests from Unreal.
* Removed old http client test codeStefan Boberg2022-02-041-416/+0
|
* Cache policy support (#47)mattpetersepic2022-02-011-31/+58
| | | | | | | | Add HandleRpc methods for the remaining ICacheStore requests from unreal: PutCacheValues/GetCacheValues. We now have batched versions for PutCacheRecords,GetCacheRecords,PutCacheValues,GetCacheValues,GetCacheChunks. Add support for CachePolicy flags to all of these batched methods. * Add Batched PutCacheValues/GetCacheValues. Rename old GetCacheValues to GetCacheChunks. * HandleRpcGetCacheRecords: Receive a CacheRecordPolicy with each key, and skipdata on attachments we already have. * Changes to CachePolicy copied from Release-5.0 depot. Change serialization to use the key BasePolicy instead of DefaultValuePolicy. * GetChunks: Read CacheRecords from remote if necessary to find ContentId. Implement QueryLocal, StoreLocal, and SkipData.
* Add batched CacheRecord put rpc (#38)mattpetersepic2022-01-271-30/+61
| | | * Add batched CacheRecord put rpc
* Implement SkipData,QueryLocal,StoreLocal for GET-verb CacheGet requests (#39)mattpetersepic2022-01-261-3/+8
| | | * Implement SkipData,QueryLocal,StoreLocal for GET-verb CacheGet requests
* Cachepolicy (#36)mattpetersepic2022-01-251-171/+16
| | | | | | | | | | | | | | | | | * Copy CachePolicy implementation from UE5/Release-5.0. Add backwards compatability for clients and upstreams that are using the old protocol. * Add RefPtr templated move operator and constructor, so that RefPtr<const Foo*> A = std::move(RefPtr<Foo*>()) will do a move. * Fix broken CachePolicy tests and add tests for new Save/Load. * Remove TODO comments * CachePolicy Save/Load Fixes from codereview * Fix comment to match code change. * Remove backwards compatibility for CachePolicy change. Convert policy string tokens to PascalCase. Fix tests for new policy text. Change ParseCachePolicy to assert string is non-empty and always succeed. * Fix release build: use ZEN_WITH_TESTS define
* Format fix.Per Larsson2022-01-221-17/+18
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-73/+69
|
* Fixed error in if-statement comparisonMartin Ridgers2022-01-071-1/+1
|
* Deleted unused local variableMartin Ridgers2022-01-071-1/+0
|
* Merged main.Per Larsson2021-12-141-56/+77
|\
| * Renamed ZEN_PLATFORM_MACOS to ZEN_PLATFORM_MACMartin Ridgers2021-12-021-1/+1
| | | | | | | | | | None of the other platform defines have an "OS" suffix so removing this one keeps things consistent and lowers the chance of error.
| * std::fs::path is a wide character string under the hoodMartin Ridgers2021-11-291-1/+1
| |
| * Wait for upstream test server to start before spawning a downstream oneMartin Ridgers2021-11-291-4/+2
| |
| * Use more correct paths for the project.basic testMartin Ridgers2021-11-291-6/+8
| |
| * Allow end-of-file errors to pass unraisedMartin Ridgers2021-11-261-0/+6
| |
| * ASIO error type is asio::error_code not std::error_codeMartin Ridgers2021-11-261-7/+7
| |
| * Throw HTTP client errors from zenserver-testMartin Ridgers2021-11-251-1/+5
| |
| * Merged mainMartin Ridgers2021-11-251-0/+4
| |\
| * | Raise an error if zenserver-test's HTTP clients are enable to connectMartin Ridgers2021-11-241-2/+4
| | |
| * | ToUtf8() -> PathToUtf8() as the latter is less ambiguousMartin Ridgers2021-11-161-2/+2
| | |
| * | Deleted some debug code submitted by accidentMartin Ridgers2021-11-151-4/+0
| | |
| * | GCC did not like "size uint32_t" on this line for some reasonMartin Ridgers2021-11-151-1/+1
| | |
| * | Merged mainMartin Ridgers2021-11-151-28/+338
| |\ \
| * | | Fixed up FileSystemTranersal visitor to use std::fs::pathMartin Ridgers2021-11-151-7/+7
| | | |
| * | | Used unused variablesMartin Ridgers2021-11-151-0/+6
| | | |
| * | | Deleted unused codeMartin Ridgers2021-11-151-14/+0
| | | |
| * | | Use Zen's GetCurrentThreadId()Martin Ridgers2021-11-151-2/+2
| | | |
| * | | Implemented a basic Concurrency::parallel_invoke() for Linux and MacMartin Ridgers2021-11-151-0/+20
| | | |
| * | | Fixed "move prevents copy elision" compiler warningMartin Ridgers2021-11-151-1/+1
| | | |
| * | | Merged mainMartin Ridgers2021-11-121-5/+7
| |\ \ \
| * \ \ \ Merged mainMartin Ridgers2021-11-031-4/+6
| |\ \ \ \
| * | | | | Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES defineMartin Ridgers2021-11-031-0/+2
| | | | | |
| * | | | | Wrapped Windows-specific include in if-def preprocessor blocksMartin Ridgers2021-11-021-3/+5
| | | | | |
| * | | | | Merged mainMartin Ridgers2021-11-011-8/+9
| |\ \ \ \ \
| * \ \ \ \ \ Merged mainMartin Ridgers2021-10-251-3/+3
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merged mainMartin Ridgers2021-10-201-6/+7
| |\ \ \ \ \ \ \