Commit 6ddf50a7 authored by David Edmundson's avatar David Edmundson

[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
parent 2bad2b48
...@@ -938,7 +938,7 @@ void TestShellClient::testWindowOpensLargerThanScreen() ...@@ -938,7 +938,7 @@ void TestShellClient::testWindowOpensLargerThanScreen()
QCOMPARE(c->clientSize(), screens()->size(0)); QCOMPARE(c->clientSize(), screens()->size(0));
QVERIFY(c->isDecorated()); QVERIFY(c->isDecorated());
QEXPECT_FAIL("", "BUG 366632", Continue); QEXPECT_FAIL("", "BUG 366632", Continue);
QVERIFY(sizeChangeRequestedSpy.wait()); QVERIFY(sizeChangeRequestedSpy.wait(10));
} }
void TestShellClient::testHidden_data() void TestShellClient::testHidden_data()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment