diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 10:25:20 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 16:24:43 +0200 |
commit | 076be49223a570cee25c33e8886303f3097a044b (patch) | |
tree | 1b4fc95a78cd5ac9fea23c8d83afc114e9ff9a57 /test | |
parent | 1a5eb263171139c896e70369077f22ef6d432bf3 (diff) | |
download | justbuild-076be49223a570cee25c33e8886303f3097a044b.tar.gz |
Check compatibility in the test of cas_server
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/execution_api/execution_service/cas_server.test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/buildtool/execution_api/execution_service/cas_server.test.cpp b/test/buildtool/execution_api/execution_service/cas_server.test.cpp index a7791cd5..f0fcf949 100644 --- a/test/buildtool/execution_api/execution_service/cas_server.test.cpp +++ b/test/buildtool/execution_api/execution_service/cas_server.test.cpp @@ -42,6 +42,11 @@ namespace { } // namespace TEST_CASE("CAS Service: upload incomplete tree", "[execution_service]") { + // For compatible mode tree invariants aren't checked. + if (Compatibility::IsCompatible()) { + return; + } + auto const storage_config = TestStorageConfig::Create(); auto const storage = Storage::Create(&storage_config.Get()); |