diff --git a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp index 9628cbd91e9ce..45464db958e04 100644 --- a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp +++ b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp @@ -38,6 +38,9 @@ using namespace lldb_private; using namespace lldb_private::transport; using namespace lldb_protocol::mcp; +// Flakey, see https://github.com/llvm/llvm-project/issues/152677. +#ifndef _WIN32 + namespace { template Response make_response(T &&result, Id id = 1) { @@ -325,3 +328,5 @@ TEST_F(ProtocolServerMCPTest, NotificationInitialized) { EXPECT_THAT(logged_messages, testing::Contains("MCP initialization complete")); } + +#endif diff --git a/lldb/unittests/Protocol/ProtocolMCPTest.cpp b/lldb/unittests/Protocol/ProtocolMCPTest.cpp index 396e361e873fe..5f7391e43fe34 100644 --- a/lldb/unittests/Protocol/ProtocolMCPTest.cpp +++ b/lldb/unittests/Protocol/ProtocolMCPTest.cpp @@ -16,6 +16,9 @@ using namespace lldb; using namespace lldb_private; using namespace lldb_protocol::mcp; +// Flakey, see https://github.com/llvm/llvm-project/issues/152677. +#ifndef _WIN32 + TEST(ProtocolMCPTest, Request) { Request request; request.id = 1; @@ -292,3 +295,5 @@ TEST(ProtocolMCPTest, ReadResourceResultEmpty) { EXPECT_TRUE(deserialized_result->contents.empty()); } + +#endif