From 81c59a86ddd8c146cf7ca90a81ffac89f3e13c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Tue, 18 Jul 2017 21:29:50 +0200 Subject: [PATCH] [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. --- autotests/integration/quick_tiling_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autotests/integration/quick_tiling_test.cpp b/autotests/integration/quick_tiling_test.cpp index 36269dd2ac..b63e69d33b 100644 --- a/autotests/integration/quick_tiling_test.cpp +++ b/autotests/integration/quick_tiling_test.cpp @@ -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