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:
jlmiller@webrtc.org
2015-02-07 22:37:59 +00:00
parent fe19699a20
commit ec499beaf5
5 changed files with 37 additions and 25 deletions

View File

@ -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());
}
}