autotests: Make testXdgShellClientRules more robust to CI being heavily loaded
FAIL! : TestXdgShellClientRules::testSizeApply() 'surfaceConfigureRequestedSpy->wait(10)' returned FALSE. () Loc: [/home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.15/autotests/integration/xdgshellclient_rules_test.cpp(731)] If CI is moderately loaded, 10ms may not be enough. I don't remember why 10ms timeout was added.
This commit is contained in:
parent
dee97068fb
commit
bc8c7a5fce
1 changed files with 2 additions and 2 deletions
|
@ -728,7 +728,7 @@ void TestXdgShellClientRules::testSizeApply()
|
|||
QVERIFY(!client->isInteractiveMove());
|
||||
QVERIFY(!client->isInteractiveResize());
|
||||
|
||||
QVERIFY(surfaceConfigureRequestedSpy->wait(10));
|
||||
QVERIFY(surfaceConfigureRequestedSpy->wait());
|
||||
QCOMPARE(surfaceConfigureRequestedSpy->count(), 5);
|
||||
QCOMPARE(toplevelConfigureRequestedSpy->count(), 5);
|
||||
|
||||
|
@ -868,7 +868,7 @@ void TestXdgShellClientRules::testSizeRemember()
|
|||
QVERIFY(!client->isInteractiveMove());
|
||||
QVERIFY(!client->isInteractiveResize());
|
||||
|
||||
QVERIFY(surfaceConfigureRequestedSpy->wait(10));
|
||||
QVERIFY(surfaceConfigureRequestedSpy->wait());
|
||||
QCOMPARE(surfaceConfigureRequestedSpy->count(), 5);
|
||||
QCOMPARE(toplevelConfigureRequestedSpy->count(), 5);
|
||||
|
||||
|
|
Loading…
Reference in a new issue