<table><tr><td style="">romangg created this revision.<br />romangg added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />romangg 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/D22119">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The internal window test is failing on CI because the client add spy waits<br />
are not triggered. The signal has been emitted already at this point.</p>
<p>Removing them fixes this (the condition is still checked by subsequent<br />
count verify on the spy) in all but one instance. In this case the wait<br />
needs to be guarded.</p>
<p>Is there a more general approach to it? Always guarding is ugly. Also when<br />
was this test regression introduced? In the past we must have had some<br />
slack until the signal was fired to start the wait call.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Internal window test passes with this patch again.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>fixInternalWindowTest</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22119">https://phabricator.kde.org/D22119</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/integration/internal_window.cpp</div></div></div><br /><div><strong>To: </strong>romangg, KWin<br /><strong>Cc: </strong>kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>