wait_for_a_bit_longer
authorDebian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 31 Mar 2016 13:38:43 +0000 (15:38 +0200)
committerMaximiliano Curia <maxy@debian.org>
Wed, 5 Apr 2017 08:10:59 +0000 (09:10 +0100)
===================================================================

Gbp-Pq: Name wait_for_a_bit_longer

autotests/kdirlistertest.cpp

index a91988f577b5c163f5cc8a32cf1f2261ac75547a..e0a616bfe10d531bc46af9b9df550e41e66e8535 100644 (file)
@@ -1186,7 +1186,7 @@ void KDirListerTest::testRemoveWatchedDirectory()
     QVERIFY(QDir().rmdir(path + "abc"));
 
     // This should trigger an update.
-    QVERIFY(spyCompleted.wait(1000));
+    QVERIFY(spyCompleted.wait(2000));
     QVERIFY(m_dirLister.isFinished());
     QCOMPARE(m_items.count(), 0);
     QCOMPARE(m_dirLister.spyItemsDeleted.count(), 1);