aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merged mainMartin Ridgers2021-10-201-6/+7
|\
| * zenserver-test: Fixed up zcache testsStefan Boberg2021-10-191-6/+7
| |
* | Merged mainMartin Ridgers2021-10-161-4/+6
|\|
| * zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-4/+6
| | | | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* | Use std::fs::path for IoBuffer::MakeFromFile().Martin Ridgers2021-10-141-1/+1
| | | | | | | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway.
* | Fixed shadowed symbol error in zenserver-test.cppMartin Ridgers2021-10-131-4/+6
|/
* Added support for SkipData cache policy.Per Larsson2021-10-031-11/+95
|
* timer: cleaned up Stopwatch, removed GetCpuTimerValueStefan Boberg2021-09-291-6/+6
|
* Prevent mesh tests to crash by moving behind define.Per Larsson2021-09-291-0/+3
|
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-22/+15
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Made use of mimalloc controlled by defineStefan Boberg2021-09-201-1/+5
| | | | | | | When ZEN_USE_MIMALLOC is set to 0, mimalloc will not be used. This is useful to diagnose issues with gflags and other generic analysis tools which expect malloc/free to be used for memory management
* Respect skip attachments when retrieved from upstream cache.Per Larsson2021-09-201-0/+56
|
* Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-09-201-4/+11
|\
| * It's not possible to compile out testsStefan Boberg2021-09-201-4/+11
| | | | | | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
* | Added support for skipping package attachments.Per Larsson2021-09-201-0/+53
|/
* Changed so Windows also uses the portable std::mutex implementation and ↵Stefan Boberg2021-09-191-25/+27
| | | | reworked some code which would not compile after the change
* Added cache policy tests for CbPackage.Per Larsson2021-09-171-3/+169
|
* Added test for store local/remote cache policy.Per Larsson2021-09-171-0/+35
|
* Initial support for cache policies.Per Larsson2021-09-171-2/+81
|
* Added namespace scopes to more includes for better consistencyStefan Boberg2021-09-171-3/+6
|
* Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-161-1/+219
|\
| * Compact binary package caching support (#9)Per Larsson2021-09-161-1/+219
| |
* | Changed how sponsor processes are managedStefan Boberg2021-09-161-0/+62
|/ | | | We can now monitor more than one process and if a new process is started on the same port we will hand over the owner pid to the process which is already executing before exiting. Note that this is only done if there is actually already an owner process in the instance list.
* Improved package serialization to allow round trippingStefan Boberg2021-09-161-1/+6
|
* Fixed some unreferenced variable warnings (why don't we get these in sln ↵Stefan Boberg2021-09-161-0/+2
| | | | builds?). Also added size verification to certain payloads
* Hooked up zenhttp to the test framework so tests actually run as part of ↵Stefan Boberg2021-09-151-0/+2
| | | | zenserver-test
* Added explicit logging initialization to main() of standalone executables, ↵Stefan Boberg2021-09-151-0/+2
| | | | to make things work with the new default logger shadowing changes
* Changed logging implementationStefan Boberg2021-09-151-39/+30
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-2/+1
| | | | easier to tweak implementation
* Added client implementation of CbPackage filter/transactStefan Boberg2021-09-131-2/+2
|
* Package filtering related test codeStefan Boberg2021-09-131-5/+26
|
* clang-formatStefan Boberg2021-09-091-6/+2
|
* Basic http tests, needs a lot more tests to exercise more functionalityStefan Boberg2021-09-081-0/+93
|
* clang-format fixesStefan Boberg2021-09-061-2/+6
|
* Marked up unused parameters to squelch warningsStefan Boberg2021-09-051-1/+4
|
* IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 codeStefan Boberg2021-09-021-5/+5
|
* Remove trace.cpp/h and all traces of usageStefan Boberg2021-08-241-1/+0
|
* Added support for defining test/non-test server environmentsStefan Boberg2021-08-061-2/+2
|
* Repurposing test utility code to enable server control via zenStefan Boberg2021-08-061-1/+1
|
* Made some changes to how mesh config worksStefan Boberg2021-06-211-0/+28
|
* clang-format onlyStefan Boberg2021-06-201-6/+2
|
* Improved some logging in test harness, added launcher testStefan Boberg2021-06-181-1/+174
|
* Validate that structured cache bucket identifiers are alphanumericStefan Boberg2021-06-171-2/+23
|
* Fixed up project.basic test to account for changes made to the project store ↵Stefan Boberg2021-05-261-8/+2
| | | | interface
* Structured cache changesStefan Boberg2021-05-221-21/+48
| | | | | - Changed cachestore to use BasicFile and TCasLog instead of local variants - Added structured cache persistence tests
* Partial refactoring of structured cache implementation - WIPStefan Boberg2021-05-211-0/+46
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+1092