From 076be49223a570cee25c33e8886303f3097a044b Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 16 Jul 2024 10:25:20 +0200 Subject: Check compatibility in the test of cas_server --- test/buildtool/execution_api/execution_service/cas_server.test.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/buildtool/execution_api/execution_service/cas_server.test.cpp') 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()); -- cgit v1.2.3