[autotests] Fail faster on test which fails anyway

Summary:
The .wait() in this case isn't really time depdenent, we just need to
process the event loop.

Given we know this tests fails, there's no point me waiting 30s.

Test Plan: Test failed, but faster

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19351
This commit is contained in:
David Edmundson 2019-02-28 01:41:16 +00:00
parent 2bad2b48fe
commit 6ddf50a77b

View file

@ -938,7 +938,7 @@ void TestShellClient::testWindowOpensLargerThanScreen()
QCOMPARE(c->clientSize(), screens()->size(0));
QVERIFY(c->isDecorated());
QEXPECT_FAIL("", "BUG 366632", Continue);
QVERIFY(sizeChangeRequestedSpy.wait());
QVERIFY(sizeChangeRequestedSpy.wait(10));
}
void TestShellClient::testHidden_data()