Skip to content
Snippets Groups Projects
Commit c9f641c1 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

test: increase isConnecting timeout for slow devices

Change-Id: Icd2f7c7b0f4121d70530d17d53aed0e746acb722
parent cfb7538f
No related branches found
No related tags found
No related merge requests found
...@@ -1037,7 +1037,7 @@ ConnectionManagerTest::testIsConnecting() ...@@ -1037,7 +1037,7 @@ ConnectionManagerTest::testIsConnecting()
cv.notify_one(); cv.notify_one();
}); });
// connectDevice is full async, so isConnecting will be true after a few ms. // connectDevice is full async, so isConnecting will be true after a few ms.
CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(10), [&] { CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(60), [&] {
return successfullyReceive; return successfullyReceive;
})); }));
CPPUNIT_ASSERT(aliceAccount->connectionManager().isConnecting(bobDeviceId, "sip")); CPPUNIT_ASSERT(aliceAccount->connectionManager().isConnecting(bobDeviceId, "sip"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment