Increase testclient timeout from 1 to 5 seconds
BUG=4182 R=pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/38839004 Cr-Commit-Position: refs/heads/master@{#8285} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8285 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -736,7 +736,7 @@ class VirtualSocketServerTest : public testing::Test {
|
||||
|
||||
// Test cross-family datagram sending between a client bound to client_addr
|
||||
// and a server bound to server_addr. shouldSucceed indicates if sending is
|
||||
// expected to succed or not.
|
||||
// expected to succeed or not.
|
||||
void CrossFamilyDatagramTest(const SocketAddress& client_addr,
|
||||
const SocketAddress& server_addr,
|
||||
bool shouldSucceed) {
|
||||
@ -759,7 +759,7 @@ class VirtualSocketServerTest : public testing::Test {
|
||||
EXPECT_EQ(client1_addr, bound_server_addr);
|
||||
} else {
|
||||
EXPECT_EQ(-1, client2->SendTo("foo", 3, bound_server_addr));
|
||||
EXPECT_FALSE(client1->CheckNextPacket("foo", 3, 0));
|
||||
EXPECT_TRUE(client1->CheckNoPacket());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user