Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 9a54b7e

Browse files
MSLaguanakfarnung
authored andcommitted
cctest: Fix cctest failure on windows
Linux converts the ipv6 address "::" to "::1", while windows does not. By explicitly using "::1" in the test we allow it to succeed on windows.
1 parent 9409f33 commit 9a54b7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cctest/test_inspector_socket_server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ TEST_F(InspectorSocketServerTest, BindsToIpV6) {
621621
ASSERT_TRUE(server->Start());
622622

623623
SocketWrapper socket1(&loop);
624-
socket1.Connect("::", server.port(), true);
624+
socket1.Connect("::1", server.port(), true);
625625
socket1.Write(WsHandshakeRequest(MAIN_TARGET_ID));
626626
socket1.Expect(WS_HANDSHAKE_RESPONSE);
627627
server->Stop(ServerHolder::CloseCallback);

0 commit comments

Comments
 (0)