For TestResolverShutdown, use address that can't be resolved.
This test only currently works because stun.l.google.com has an IPv4 address and the TURN port is created with an IPv6 address. But the test would start failing if/when it starts providing an IPv6 address. Which may already be happening, as indicated by a recent test failure. Review URL: https://codereview.webrtc.org/1290233003 Cr-Commit-Position: refs/heads/master@{#9841}
This commit is contained in:
parent
e63d2a1c62
commit
71cfe690b7
@ -803,7 +803,7 @@ TEST_F(TurnPortTest, TestResolverShutdown) {
|
||||
// Need to supply unresolved address to kick off resolver.
|
||||
CreateTurnPort(kLocalIPv6Addr, kTurnUsername, kTurnPassword,
|
||||
cricket::ProtocolAddress(rtc::SocketAddress(
|
||||
"stun.l.google.com", 3478), cricket::PROTO_UDP));
|
||||
"www.google.invalid", 3478), cricket::PROTO_UDP));
|
||||
turn_port_->PrepareAddress();
|
||||
ASSERT_TRUE_WAIT(turn_error_, kTimeout);
|
||||
EXPECT_TRUE(turn_port_->Candidates().empty());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user