Skip to content

Commit 1cf3346

Browse files
committed
turn off AdbClientTest.RealTcpConnection on windows to fix build breakage
1 parent 9e6fa39 commit 1cf3346

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/unittests/Platform/Android/AdbClientTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ static uint16_t FindUnusedPort() {
108108
return port;
109109
}
110110

111+
#ifndef _WIN32
112+
// This test is disabled on Windows due to platform-specific socket behavior
113+
// that causes assertion failures in TCPSocket::Listen()
111114
TEST_F(AdbClientTest, RealTcpConnection) {
112115
uint16_t unused_port = FindUnusedPort();
113116
ASSERT_NE(unused_port, 0) << "Failed to find an unused port";
@@ -137,3 +140,4 @@ TEST_F(AdbClientTest, RealTcpConnection) {
137140
<< "Connection should succeed when server is listening on port "
138141
<< unused_port;
139142
}
143+
#endif // _WIN32

0 commit comments

Comments
 (0)