davidedmundson added a comment.
> In theory QTRY_VERIFY should wait up to 5 seconds until condition is met. qWait(250) shouldn't change much... The big difference is that before if one spyFilesAdded is emitted after say 10ms, we'll continue immediately on with the test Whereas now we'll always wait 250ms spyFilesAdded could have been emitted 1 or 3 times as per the comment on the next line by then REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D28183 To: davidedmundson, #plasma Cc: kmaterka, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart