Commit 81c59a86 authored by Martin Flöser's avatar Martin Flöser

[autotests] Try to make new QuickTilingTest addition more robust on CI

A wait on signalspy fails on CI and a TRY_COMPARE on the count of the
spy should be sufficient.
parent bbbd2f6a
......@@ -768,8 +768,7 @@ void QuickTilingTest::testScript()
QCOMPARE(c->quickTileMode(), expectedMode);
// but we got requested a new geometry
QVERIFY(sizeChangeSpy.wait());
QCOMPARE(sizeChangeSpy.count(), 1);
QTRY_COMPARE(sizeChangeSpy.count(), 1);
QCOMPARE(sizeChangeSpy.first().first().toSize(), expectedGeometry.size());
// attach a new image
......
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