Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lldb/unittests/Platform/Android/AdbClientTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ static uint16_t FindUnusedPort() {
return port;
}

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