Skip to content

Commit f3673c5

Browse files
authored
[lldb] Disabling tests in win32 to investigate the root cause. (llvm#161931)
These tests are failing on win32 platforms, disabling while I investigate the root cause.
1 parent a4b2975 commit f3673c5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lldb/unittests/Protocol/ProtocolMCPServerTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ using namespace lldb_private;
3838
using namespace lldb_private::transport;
3939
using namespace lldb_protocol::mcp;
4040

41+
// Flakey, see https://github.com/llvm/llvm-project/issues/152677.
42+
#ifndef _WIN32
43+
4144
namespace {
4245

4346
template <typename T> Response make_response(T &&result, Id id = 1) {
@@ -325,3 +328,5 @@ TEST_F(ProtocolServerMCPTest, NotificationInitialized) {
325328
EXPECT_THAT(logged_messages,
326329
testing::Contains("MCP initialization complete"));
327330
}
331+
332+
#endif

lldb/unittests/Protocol/ProtocolMCPTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ using namespace lldb;
1616
using namespace lldb_private;
1717
using namespace lldb_protocol::mcp;
1818

19+
// Flakey, see https://github.com/llvm/llvm-project/issues/152677.
20+
#ifndef _WIN32
21+
1922
TEST(ProtocolMCPTest, Request) {
2023
Request request;
2124
request.id = 1;
@@ -292,3 +295,5 @@ TEST(ProtocolMCPTest, ReadResourceResultEmpty) {
292295

293296
EXPECT_TRUE(deserialized_result->contents.empty());
294297
}
298+
299+
#endif

0 commit comments

Comments
 (0)