Commit c8a1f481 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

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

parent 8cbc03b3
......@@ -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++);
......
Supports Markdown
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