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

This commit is contained in:
Aleix Pol 2021-05-11 03:53:21 +02:00
parent 8cbc03b3be
commit c8a1f48151

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++);