summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcebenchmark.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-16 17:31:10 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-16 17:31:10 +0200
commit422c12d85d3eca55eca6f23c140910150a5fd166 (patch)
tree52d7b466d73f2d1a3b4ba98b20d558c8c75dc96a /tests/dummyresourcebenchmark.cpp
parentad9e3074f2949a0ea604bc191109fa0ad7b8e2e4 (diff)
downloadsink-422c12d85d3eca55eca6f23c140910150a5fd166.tar.gz
sink-422c12d85d3eca55eca6f23c140910150a5fd166.zip
QUICK_TRY_VERIFY for quick polling in benchmarks
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r--tests/dummyresourcebenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp
index 868c5aa..674d4d6 100644
--- a/tests/dummyresourcebenchmark.cpp
+++ b/tests/dummyresourcebenchmark.cpp
@@ -73,7 +73,7 @@ private slots:
73 Sink::Store::create<Sink::ApplicationDomain::Event>(event).exec(); 73 Sink::Store::create<Sink::ApplicationDomain::Event>(event).exec();
74 74
75 // Wait for notification 75 // Wait for notification
76 QTRY_VERIFY(gotNotification); 76 QUICK_TRY_VERIFY(gotNotification);
77 77
78 QVERIFY2(duration < 100, QString::fromLatin1("Processing a create command took more than 100ms: %1").arg(duration).toLatin1()); 78 QVERIFY2(duration < 100, QString::fromLatin1("Processing a create command took more than 100ms: %1").arg(duration).toLatin1());
79 VERIFYEXEC(Sink::ResourceControl::shutdown("sink.dummy.instance1")); 79 VERIFYEXEC(Sink::ResourceControl::shutdown("sink.dummy.instance1"));