Verified Commit d3cb19a6 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix flaky linktest

Wait for Monitor to be ready.
parent 38138383
......@@ -73,6 +73,8 @@ private Q_SLOTS:
Monitor *monitor = new Monitor(this);
monitor->setCollectionMonitored(col);
monitor->itemFetchScope().fetchFullPayload();
QSignalSpy monitorSpy(monitor, &Monitor::monitorReady);
QVERIFY(monitorSpy.wait());
qRegisterMetaType<Akonadi::Collection>();
qRegisterMetaType<Akonadi::Item>();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment