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

tests: fix ut_conversation_call

The fallback can take up to 30 seconds, so wait a bit longer

Change-Id: I357ef48a43873396e575f70c2a1c391df8f5a655
parent 22d5417d
Branches
Tags
No related merge requests found
......@@ -961,8 +961,8 @@ ConversationCallTest::testNeedsHost()
Manager::instance().sendRegister(aliceId, false);
// start call
auto callId = libjami::placeCallWithMedia(bobId, "swarm:" + aliceData_.id, {});
// should get message
CPPUNIT_ASSERT(cv.wait_for(lk, 30s, [&]() { return bobData_.needsHost; }));
// Can fail after 30 seconds if it triggers a new ICE request (before No response from DHT)
CPPUNIT_ASSERT(cv.wait_for(lk, 40s, [&]() { return bobData_.needsHost; }));
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment