From 2ba9d6187c1fb4d33ba19827a60ca8b2360e1634 Mon Sep 17 00:00:00 2001 From: KjellKod Date: Tue, 12 Nov 2013 02:45:09 -0700 Subject: [PATCH] All unit test working. Next step is to increase performance even more --- g2log/test_unit/test_sink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 :)");