unitTest/call: Increase wait time for accounts announcement

Also add missing newline at end of file.

Gitlab: #545
Change-Id: Ie96ff446d27d40f63fb6f4471b10006bcfba5d46
This commit is contained in:
Olivier Dion
2021-05-11 12:55:45 -04:00
committed by Olivier Dion
parent 252f1b005b
commit 5e69af154d

View File

@ -154,7 +154,7 @@ CallTest::testCall()
// TODO remove. This sleeps is because it take some time for the DHT to be connected
// and account announced
JAMI_INFO("Waiting....");
std::this_thread::sleep_for(std::chrono::seconds(5));
std::this_thread::sleep_for(std::chrono::seconds(10));
auto aliceAccount = Manager::instance().getAccount<JamiAccount>(aliceId);
auto bobAccount = Manager::instance().getAccount<JamiAccount>(bobId);
auto bobUri = bobAccount->getUsername();
@ -292,4 +292,4 @@ CallTest::testStopSearching()
} // namespace test
} // namespace jami
RING_TEST_RUNNER(jami::test::CallTest::name())
RING_TEST_RUNNER(jami::test::CallTest::name())