GlobalShortcutsTest: No need to make the test longer than it needs to be

icc-effect-5.26.4
Aleix Pol 2021-05-11 03:53:21 +02:00
parent 8cbc03b3be
commit c8a1f48151
1 changed files with 2 additions and 2 deletions

View File

@ -216,10 +216,10 @@ void GlobalShortcutsTest::testRepeatedTrigger()
QVERIFY(triggeredSpy.wait());
// now release the key
kwinApp()->platform()->keyboardKeyReleased(KEY_5, timestamp++);
QVERIFY(!triggeredSpy.wait(500));
QVERIFY(!triggeredSpy.wait(50));
kwinApp()->platform()->keyboardKeyReleased(KEY_WAKEUP, timestamp++);
QVERIFY(!triggeredSpy.wait(500));
QVERIFY(!triggeredSpy.wait(50));
// release shift
kwinApp()->platform()->keyboardKeyReleased(KEY_LEFTSHIFT, timestamp++);