mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-05 17:12:00 +00:00
[lldb] Remove ConnectionFileDescriptorTest.Connectv(4|6)
These tests are timing out on the bots.
This commit is contained in:
parent
42823beb1d
commit
02c2b472b5
@ -30,15 +30,6 @@ public:
|
||||
EXPECT_EQ((URI{"connect", ip, socket->GetRemotePortNumber(), "/"}),
|
||||
URI::Parse(uri).getValue());
|
||||
}
|
||||
|
||||
void TestConnect(std::string ip, std::string path) {
|
||||
std::unique_ptr<TCPSocket> socket_a_up;
|
||||
std::unique_ptr<TCPSocket> socket_b_up;
|
||||
CreateTCPConnectedSockets(ip, &socket_a_up, &socket_b_up);
|
||||
auto *socket = socket_a_up.release();
|
||||
ConnectionFileDescriptor connection_file_descriptor(socket);
|
||||
connection_file_descriptor.Connect(path, nullptr);
|
||||
}
|
||||
};
|
||||
|
||||
TEST_F(ConnectionFileDescriptorTest, TCPGetURIv4) {
|
||||
@ -52,15 +43,3 @@ TEST_F(ConnectionFileDescriptorTest, TCPGetURIv6) {
|
||||
return;
|
||||
TestGetURI("::1");
|
||||
}
|
||||
|
||||
TEST_F(ConnectionFileDescriptorTest, Connectv4) {
|
||||
if (!HostSupportsIPv4())
|
||||
return;
|
||||
TestConnect("127.0.0.1", "accept://127.0.0.1");
|
||||
}
|
||||
|
||||
TEST_F(ConnectionFileDescriptorTest, Connectv6) {
|
||||
if (!HostSupportsIPv6())
|
||||
return;
|
||||
TestConnect("::1", "accept://::1");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user