From 181b89d26320a39a2561c029196610c3656804d1 Mon Sep 17 00:00:00 2001 From: Dawid Drozd Date: Sun, 12 Apr 2020 14:57:09 +0200 Subject: [PATCH] Update test --- test/integration/src/dexode/eventbus/test/SuiteWait.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/src/dexode/eventbus/test/SuiteWait.cpp b/test/integration/src/dexode/eventbus/test/SuiteWait.cpp index e9c986c..2f972c9 100644 --- a/test/integration/src/dexode/eventbus/test/SuiteWait.cpp +++ b/test/integration/src/dexode/eventbus/test/SuiteWait.cpp @@ -24,7 +24,7 @@ struct EventTest }; } // namespace -TEST_CASE("Should not be proccessed with unnecessary delay", "[concurrent][EventBus]") +TEST_CASE("Should not be processed with unnecessary delay", "[concurrent][EventBus]") { auto bus = std::make_shared(); bus->addPerk(std::make_unique()) @@ -44,10 +44,10 @@ TEST_CASE("Should not be proccessed with unnecessary delay", "[concurrent][Event std::this_thread::sleep_for(3ms); }); - // Worker which will send event every 10 ms std::atomic isWorking = true; std::vector producers; + // Worker which will send event every 500 ms producers.emplace_back([&bus, &isWorking]() { while(isWorking) {