[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.
This commit is contained in:
parent
bbbd2f6a24
commit
81c59a86dd
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue