diff --git a/test/io_service_fixture.hpp b/test/io_service_fixture.hpp index 05f7fb0b..9552ebeb 100644 --- a/test/io_service_fixture.hpp +++ b/test/io_service_fixture.hpp @@ -25,7 +25,10 @@ struct io_service_fixture m_ioThreads.reserve(threadCount); try { - m_ioThreads.emplace_back([this] { m_ioService.process_events(); }); + for (std::uint32_t i = 0; i < threadCount; ++i) + { + m_ioThreads.emplace_back([this] { m_ioService.process_events(); }); + } } catch (...) {