Try to stabilize tst_QQuickPathView
authorSergio Ahumada <sergio.ahumada@digia.com>
Tue, 19 Mar 2013 12:11:27 +0000 (13:11 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 21 Mar 2013 09:48:41 +0000 (10:48 +0100)
Change-Id: I673604d4f0bc90352efe115422762c7c4ec210ad
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp

index 8821203..77c4f80 100644 (file)
@@ -1860,7 +1860,7 @@ void tst_QQuickPathView::snapToItem()
     flick(window, QPoint(200,10), QPoint(10,10), 180);
 
     QVERIFY(pathview->isMoving());
-    QTRY_VERIFY(!pathview->isMoving());
+    QTRY_VERIFY_WITH_TIMEOUT(!pathview->isMoving(), 50000);
 
     QVERIFY(pathview->offset() == qFloor(pathview->offset()));