From 7e86e075060cf74c6d685d326e87589210879763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Simon=20Fauteux-Chapleau?= <francois-simon.fauteux-chapleau@savoirfairelinux.com> Date: Mon, 22 Apr 2024 13:41:02 -0400 Subject: [PATCH] tests: add missing assertions Change-Id: I82dc9505c17771e8ee7ce42e7dc74d33e8732313 --- tests/connectionManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/connectionManager.cpp b/tests/connectionManager.cpp index f0d5564..17c9e4d 100644 --- a/tests/connectionManager.cpp +++ b/tests/connectionManager.cpp @@ -881,8 +881,8 @@ ConnectionManagerTest::testChannelSenderShutdown() }); std::unique_lock lk {mtx}; - rcv.wait_for(lk, 30s, [&] { return successfullyConnected && successfullyReceive && receiverConnected; }); - scv.wait_for(lk, 30s, [&] { return shutdownReceived; }); + CPPUNIT_ASSERT(rcv.wait_for(lk, 30s, [&] { return successfullyConnected && successfullyReceive && receiverConnected; })); + CPPUNIT_ASSERT(scv.wait_for(lk, 30s, [&] { return shutdownReceived; })); } void -- GitLab