[Lldb-commits] [lldb] [lldb] Fix the SocketTest failure on unsupported hosts (PR #118673)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 5 01:32:43 PST 2024
dzhidzhoev wrote:
Hmm, on my machine it fails with the same error after the commit is applied
```
Script:
--
/home/parallels/llvm-build-release/tools/lldb/unittests/Host/./HostTests --gtest_filter=SocketTest.TCPListen0MultiListenerGetListeningConnectionURI
--
/home/parallels/llvm-project/lldb/unittests/Host/SocketTest.cpp:289: Failure
Value of: sock.get()->GetListeningConnectionURI()
Expected: has 2 elements and there exists some permutation of elements such that:
- element #0 is equal to "connection://[::1]:35725", and
- element #1 is equal to "connection://[127.0.0.1]:35725"
Actual: { "connection://[127.0.0.1]:35725" }, which has 1 element
/home/parallels/llvm-project/lldb/unittests/Host/SocketTest.cpp:289
Value of: sock.get()->GetListeningConnectionURI()
Expected: has 2 elements and there exists some permutation of elements such that:
- element #0 is equal to "connection://[::1]:35725", and
- element #1 is equal to "connection://[127.0.0.1]:35725"
Actual: { "connection://[127.0.0.1]:35725" }, which has 1 element
```
https://github.com/llvm/llvm-project/pull/118673
More information about the lldb-commits
mailing list