<table><tr><td style="">dvratil created this revision.<br />dvratil added a reviewer: dfaure.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />dvratil 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/D25458">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>akonadi_control: announce new Resource once both services are registered</p>

<p>Make sure that we don't emit agentInstanceAdded until the new Resource has<br />
registered both it's Agent service name and Resource service name.</p>

<p>Testrunner: wait until all jobs are done before aborting setup</p>

<p>When resource setup fails for any reason, we must wait for the remaining<br />
jobs to finish before shutting down Akonadi and terminating the testrunner.<br />
Otherwise the next scheduled job gets executed and causes a new Akonadi<br />
instance to be launched through DBus activation. This instance is not<br />
managed by the testrunner though, so it does not ever get terminated,<br />
causing ctest to hang.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>release/19.12</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25458">https://phabricator.kde.org/D25458</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/libs/testrunner/setup.cpp<br />
autotests/libs/testrunner/setup.h<br />
autotests/libs/testrunner/testrunner.cpp<br />
src/akonadicontrol/agentmanager.cpp</div></div></div><br /><div><strong>To: </strong>dvratil, dfaure<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>