diff --git a/g2log/test_unit/test_sink.cpp b/g2log/test_unit/test_sink.cpp index fe2779a..363965b 100644 --- a/g2log/test_unit/test_sink.cpp +++ b/g2log/test_unit/test_sink.cpp @@ -43,7 +43,7 @@ TEST(ConceptSink, OneHundredSinks) { BoolList flags; IntVector counts; - size_t NumberOfItems = 2; + size_t NumberOfItems = 100; for (size_t index = 0; index < NumberOfItems; ++index) { flags.push_back(make_shared < atomic> (false)); counts.push_back(make_shared < atomic> (0)); @@ -65,7 +65,7 @@ TEST(ConceptSink, OneHundredSinks) { stream1 << "Hello to 100 receivers :)"; worker->save(message1); - auto& stream2 = message1.get()->stream(); + auto& stream2 = message2.get()->stream(); stream2 << "Hello to 100 receivers :)"; worker->save(message2); //worker->save("Hello to 100 receivers :)");