diff --git a/flow/IThreadPoolTest.cpp b/flow/IThreadPoolTest.cpp index 578e7627fe..0f7a1a3ea3 100644 --- a/flow/IThreadPoolTest.cpp +++ b/flow/IThreadPoolTest.cpp @@ -87,7 +87,7 @@ TEST_CASE("/flow/IThreadPool/NamedThread") { Reference pool = createGenericThreadPool(); pool->addThread(new ThreadNameReceiver(), "thread-foo"); - co_await waitForThreadName(pool, "thread-foo"); + ASSERT(co_await waitForThreadName(pool, "thread-foo")); co_await pool->stop(); }