From 5e69af154de74dbe7c8c5073b2ca2f5d02eae7a9 Mon Sep 17 00:00:00 2001
From: Olivier Dion <olivier.dion@polymtl.ca>
Date: Tue, 11 May 2021 12:55:45 -0400
Subject: [PATCH] unitTest/call: Increase wait time for accounts announcement

Also add missing newline at end of file.

Gitlab: #545
Change-Id: Ie96ff446d27d40f63fb6f4471b10006bcfba5d46
---
 test/unitTest/call/call.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/unitTest/call/call.cpp b/test/unitTest/call/call.cpp
index fc35b8b49b..92f01854a7 100644
--- a/test/unitTest/call/call.cpp
+++ b/test/unitTest/call/call.cpp
@@ -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())
\ No newline at end of file
+RING_TEST_RUNNER(jami::test::CallTest::name())
-- 
GitLab