feature/Producer #3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user