fix: reduced the time of test 1 again to 1ms

This commit is contained in:
unai_71 2026-03-10 17:33:01 +00:00
parent 16bf4bccd4
commit 928bb5a5fb

View File

@ -22,7 +22,7 @@ TEST(ProducerTest, ProducerCallsBackWhenEnabled)
[&logs](const std::string& msg) { logs.push_back(msg); }};
// Act: initialize producer and stop it.
producer.start();
std::this_thread::sleep_for(std::chrono::milliseconds(1500));
std::this_thread::sleep_for(std::chrono::milliseconds(1));
producer.stop();
// Assert: we expect one output being 42