mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt
This commit is contained in:
parent
9077106c43
commit
d085984c4d
@ -3604,7 +3604,6 @@ TEST_F(SignalingAgentTest, CreateOffer) {
|
|||||||
TestStunServer::GetInstance()->port());
|
TestStunServer::GetInstance()->port());
|
||||||
OfferOptions options;
|
OfferOptions options;
|
||||||
agent(0)->CreateOffer(options, OFFER_AUDIO, SHOULD_SENDRECV_AUDIO);
|
agent(0)->CreateOffer(options, OFFER_AUDIO, SHOULD_SENDRECV_AUDIO);
|
||||||
PR_Sleep(20000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(SignalingAgentTest, CreateOfferSetLocalTrickleTestServer) {
|
TEST_F(SignalingAgentTest, CreateOfferSetLocalTrickleTestServer) {
|
||||||
@ -3626,7 +3625,6 @@ TEST_F(SignalingAgentTest, CreateOfferSetLocalTrickleTestServer) {
|
|||||||
TestStunServer::GetInstance()->SetActive(true);
|
TestStunServer::GetInstance()->SetActive(true);
|
||||||
|
|
||||||
agent(0)->SetLocal(TestObserver::OFFER, agent(0)->offer());
|
agent(0)->SetLocal(TestObserver::OFFER, agent(0)->offer());
|
||||||
PR_Sleep(1000); // Give time for the message queues.
|
|
||||||
agent(0)->WaitForGather();
|
agent(0)->WaitForGather();
|
||||||
|
|
||||||
// Verify that we got our candidates.
|
// Verify that we got our candidates.
|
||||||
@ -4207,7 +4205,7 @@ TEST_P(SignalingTest, AudioCallMismatchDtlsRoles)
|
|||||||
WaitForCompleted();
|
WaitForCompleted();
|
||||||
|
|
||||||
// Not using ASSERT_TRUE_WAIT here because we expect failure
|
// Not using ASSERT_TRUE_WAIT here because we expect failure
|
||||||
PR_Sleep(kDefaultTimeout * 2); // Wait for some data to get written
|
PR_Sleep(500); // Wait for some data to get written
|
||||||
|
|
||||||
CloseStreams();
|
CloseStreams();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user