diff options
| author | Per Larsson <[email protected]> | 2021-11-24 09:03:24 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-11-24 09:03:24 +0100 |
| commit | 71d8f9609fb6ed86d9de2e73f0095ddb8ea46267 (patch) | |
| tree | 242f354e269bfc5d70d78ca8c7d49136799c95a1 | |
| parent | Set empty body in Jupiter client. (diff) | |
| parent | Fixed unused variable in integration tests. (diff) | |
| download | zen-71d8f9609fb6ed86d9de2e73f0095ddb8ea46267.tar.xz zen-71d8f9609fb6ed86d9de2e73f0095ddb8ea46267.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
| -rw-r--r-- | zencore/compress.cpp | 1 | ||||
| -rw-r--r-- | zenserver-test/zenserver-test.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/zencore/compress.cpp b/zencore/compress.cpp index 61f1effe4..35a5acb3a 100644 --- a/zencore/compress.cpp +++ b/zencore/compress.cpp @@ -1205,7 +1205,6 @@ TEST_CASE("CompressedBuffer") SUBCASE("copy uncompressed range") { - const uint64_t BlockSize = 64 * sizeof(uint64_t); const uint64_t N = 1000; std::vector<uint64_t> ExpectedValues = GenerateData(N); diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp index 8f38cc1be..0878678d8 100644 --- a/zenserver-test/zenserver-test.cpp +++ b/zenserver-test/zenserver-test.cpp @@ -1743,6 +1743,7 @@ TEST_CASE("zcache.policy") zen::IoBuffer Body(zen::IoBuffer::Wrap, Result.text.data(), Result.text.size()); zen::CbPackage Package; const bool Ok = Package.TryLoad(Body); + CHECK(Ok); CbObject CacheRecord = Package.GetObject(); std::vector<IoHash> AttachmentKeys; @@ -1762,6 +1763,7 @@ TEST_CASE("zcache.policy") zen::IoBuffer Body(zen::IoBuffer::Wrap, Result.text.data(), Result.text.size()); zen::CbPackage Package; const bool Ok = Package.TryLoad(Body); + CHECK(Ok); CHECK(Package.GetAttachments().size() != 0); } @@ -1801,6 +1803,7 @@ TEST_CASE("zcache.policy") zen::IoBuffer Body(zen::IoBuffer::Wrap, Result.text.data(), Result.text.size()); zen::CbPackage Package; const bool Ok = Package.TryLoad(Body); + CHECK(Ok); CbObject CacheRecord = Package.GetObject(); std::vector<IoHash> AttachmentKeys; @@ -1820,6 +1823,7 @@ TEST_CASE("zcache.policy") zen::IoBuffer Body(zen::IoBuffer::Wrap, Result.text.data(), Result.text.size()); zen::CbPackage Package; const bool Ok = Package.TryLoad(Body); + CHECK(Ok); CHECK(Package.GetAttachments().size() != 0); } |