D16741: Remove potential endless loop from XClipboardSyncTest
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin created this revision. graesslin added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. graesslin requested review of this revision. REVISION SUMMARY We need to wait till the helper process created the datadevice. For this we used a while loop. On build.kde.org the test gets stuck in this loop and times out after 10 minutes. This change introduces a dedicated signal and we just wait for it. So if something fails we wait only 5 sec instead of endless. This should help investigate why the test doesn't work on build.kde.org. TEST PLAN Test works locally REPOSITORY R108 KWin BRANCH xclipboard-sync-no-endless-loop REVISION DETAIL https://phabricator.kde.org/D16741 AFFECTED FILES autotests/integration/xclipboardsync_test.cpp wayland_server.cpp wayland_server.h To: graesslin, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart