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) {