Lines Matching refs:kTimeout
48 static const int kTimeout = 1000; variable
576 EXPECT_TRUE_WAIT(ch1->conn()->connected(), kTimeout); // for TCP connect in ConnectStartedChannels()
578 WAIT(!ch2->remote_address().IsNil(), kTimeout); in ConnectStartedChannels()
584 kTimeout); in ConnectStartedChannels()
613 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kTimeout); in DisconnectTcpTestChannels()
614 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kTimeout); in DisconnectTcpTestChannels()
625 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kTimeout); in DisconnectTcpTestChannels()
646 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TestTcpReconnect()
647 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TestTcpReconnect()
654 const int kTcpReconnectTimeout = kTimeout; in TestTcpReconnect()
679 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); in TestTcpReconnect()
693 EXPECT_TRUE_WAIT(!ch1.conn(), kTcpReconnectTimeout + kTimeout); in TestTcpReconnect()
700 EXPECT_TRUE_WAIT(ch1.conn() == NULL, kTimeout); in TestTcpReconnect()
701 EXPECT_TRUE_WAIT(ch2.conn() == NULL, kTimeout); in TestTcpReconnect()
796 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TestConnectivity()
797 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TestConnectivity()
802 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect in TestConnectivity()
804 WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity()
822 kTimeout); in TestConnectivity()
833 WAIT(ch2.conn()->write_state() == Connection::STATE_WRITABLE, kTimeout); in TestConnectivity()
845 kTimeout); in TestConnectivity()
856 EXPECT_TRUE_WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity()
865 kTimeout); in TestConnectivity()
876 kTimeout); in TestConnectivity()
882 WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity()
906 EXPECT_TRUE_WAIT(ch1.conn() == NULL, kTimeout); in TestConnectivity()
907 EXPECT_TRUE_WAIT(ch2.conn() == NULL, kTimeout); in TestConnectivity()
1210 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TEST_F()
1222 EXPECT_TRUE_WAIT(!ch1.conn(), kTimeout); // for TCP connect in TEST_F()
1259 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TEST_F()
1260 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TEST_F()
1279 EXPECT_TRUE_WAIT(ch1.conn() == nullptr, kTimeout); in TEST_F()
1295 EXPECT_TRUE_WAIT(ch1.conn() == nullptr, kTimeout); in TEST_F()
2115 ASSERT_EQ_WAIT(1U, stunport->Candidates().size(), kTimeout); in TEST_F()
2130 ASSERT_EQ_WAIT(1U, relayport->Candidates().size(), kTimeout); in TEST_F()
2139 ASSERT_EQ_WAIT(1U, turnport1->Candidates().size(), kTimeout); in TEST_F()
2149 ASSERT_EQ_WAIT(1U, turnport2->Candidates().size(), kTimeout); in TEST_F()
2162 ASSERT_EQ_WAIT(1U, turnport3->Candidates().size(), kTimeout); in TEST_F()
2182 ASSERT_EQ_WAIT(1U, stunport->Candidates().size(), kTimeout); in TEST_F()
2197 ASSERT_EQ_WAIT(1U, relayport->Candidates().size(), kTimeout); in TEST_F()
2206 ASSERT_EQ_WAIT(1U, turnport->Candidates().size(), kTimeout); in TEST_F()
2274 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TEST_F()
2275 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TEST_F()
2281 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect in TEST_F()
2283 WAIT(!ch2.remote_address().IsNil(), kTimeout); in TEST_F()
2295 kTimeout); in TEST_F()
2314 kTimeout); in TEST_F()
2378 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TEST_F()
2411 kTimeout); in TEST_F()
2412 EXPECT_TRUE_WAIT(ch1.nominated(), kTimeout); in TEST_F()
2445 rtc::Thread::Current()->ProcessMessages(kTimeout); in TEST_F()
2476 EXPECT_TRUE_WAIT(destroyed(), kTimeout); in TEST_F()
2505 EXPECT_TRUE_WAIT(ch2.conn() == nullptr, kTimeout); in TEST_F()
2510 rtc::Thread::Current()->ProcessMessages(kTimeout); in TEST_F()