summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/execution_api/execution_service/cas_server.test.cpp5
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());