<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: KWin.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28892">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In this test we are waiting on 4 events. 2 things via 2 threads. It was<br />
unstable.</p>

<p>This patch avoids hardcoding a bunch of ifs() handling recieving<br />
different orders, by waiting for both events.</p>

<p>We can't use QTRY_COMPARE as ConnectionThread does magic things with<br />
QCoreApplication::eventDispatcher which don't work quite the same.</p>

<p>This is a bit of a shot in the dark. It passes 100% of the time locally,<br />
lets see what CI manages to do :)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran test :)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28892">https://phabricator.kde.org/D28892</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_remote_access.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, KWin<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>