Commit f9e0e8a9 authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotests] Try making KWinBindingsTest::testSwitchWindowScript more robust

Another random failure on (see T6546). This tries to use
QTRY_COMPARE on the SignalSpy's count instead of a wait in the hope that
this can handle the multi-threaded situation better. Though it might
also be possible that the other thread just didn't run in the 5 sec we
parent d0c2c1ed
......@@ -186,7 +186,7 @@ void KWinBindingsTest::testSwitchWindowScript()
QSignalSpy runningChangedSpy(s, &AbstractScript::runningChanged);
QTRY_COMPARE(runningChangedSpy.count(), 1);
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