From ce7a9476f9e6df9d48effe17002814ca015a3f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 25 Nov 2016 07:56:24 +0100 Subject: [PATCH] [autotests] Wait longer in LockScreenTest It timed out on build.kde.org, so let's try to wait longer. --- autotests/integration/lockscreen.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autotests/integration/lockscreen.cpp b/autotests/integration/lockscreen.cpp index 32d305a304..e35ecb49cc 100644 --- a/autotests/integration/lockscreen.cpp +++ b/autotests/integration/lockscreen.cpp @@ -238,14 +238,14 @@ void LockScreenTest::testPointer() LOCK - QVERIFY(leftSpy.wait(100)); + QVERIFY(leftSpy.wait()); QCOMPARE(leftSpy.count(), 1); // simulate moving out in and out again MOTION(c->geometry().center()); MOTION(c->geometry().bottomRight() + QPoint(100, 100)); MOTION(c->geometry().bottomRight() + QPoint(100, 100)); - QVERIFY(!leftSpy.wait(100)); + QVERIFY(!leftSpy.wait()); QCOMPARE(leftSpy.count(), 1); QCOMPARE(enteredSpy.count(), 1); @@ -254,7 +254,7 @@ void LockScreenTest::testPointer() // and unlock UNLOCK - QVERIFY(enteredSpy.wait(100)); + QVERIFY(enteredSpy.wait()); QCOMPARE(enteredSpy.count(), 2); // move on the window MOTION(c->geometry().center() + QPoint(100, 100)); @@ -292,9 +292,9 @@ void LockScreenTest::testPointerButton() // and simulate a click PRESS; - QVERIFY(!buttonChangedSpy.wait(100)); + QVERIFY(!buttonChangedSpy.wait()); RELEASE; - QVERIFY(!buttonChangedSpy.wait(100)); + QVERIFY(!buttonChangedSpy.wait()); UNLOCK QVERIFY(enteredSpy.wait());