fix: reduced the time of test 1 again to 1ms
This commit is contained in:
parent
16bf4bccd4
commit
928bb5a5fb
@ -22,7 +22,7 @@ TEST(ProducerTest, ProducerCallsBackWhenEnabled)
|
|||||||
[&logs](const std::string& msg) { logs.push_back(msg); }};
|
[&logs](const std::string& msg) { logs.push_back(msg); }};
|
||||||
// Act: initialize producer and stop it.
|
// Act: initialize producer and stop it.
|
||||||
producer.start();
|
producer.start();
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1500));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||||
producer.stop();
|
producer.stop();
|
||||||
|
|
||||||
// Assert: we expect one output being 42
|
// Assert: we expect one output being 42
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user