diff options
-rw-r--r-- | tests/databasepopulationandfacadequerybenchmark.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/databasepopulationandfacadequerybenchmark.cpp b/tests/databasepopulationandfacadequerybenchmark.cpp index f965dd6..7dc649b 100644 --- a/tests/databasepopulationandfacadequerybenchmark.cpp +++ b/tests/databasepopulationandfacadequerybenchmark.cpp | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "event_generated.h" | 20 | #include "event_generated.h" |
21 | #include "getrssusage.h" | 21 | #include "getrssusage.h" |
22 | #include "utils.h" | 22 | #include "utils.h" |
23 | #include "testutils.h" | ||
23 | 24 | ||
24 | /** | 25 | /** |
25 | * Benchmark read performance of the facade implementation. | 26 | * Benchmark read performance of the facade implementation. |
@@ -114,7 +115,7 @@ class DatabasePopulationAndFacadeQueryBenchmark : public QObject | |||
114 | bool done = false; | 115 | bool done = false; |
115 | emitter->onInitialResultSetComplete([&done](const Sink::ApplicationDomain::Event::Ptr &event, bool) { done = true; }); | 116 | emitter->onInitialResultSetComplete([&done](const Sink::ApplicationDomain::Event::Ptr &event, bool) { done = true; }); |
116 | emitter->fetch(Sink::ApplicationDomain::Event::Ptr()); | 117 | emitter->fetch(Sink::ApplicationDomain::Event::Ptr()); |
117 | QTRY_VERIFY(done); | 118 | QUICK_TRY_VERIFY(done); |
118 | QCOMPARE(list.size(), count); | 119 | QCOMPARE(list.size(), count); |
119 | 120 | ||
120 | const auto elapsed = time.elapsed(); | 121 | const auto elapsed = time.elapsed(); |