<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />TallFurryMan 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/D15388">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When a job is repeating, it is expected that its start time would be further in the past than the normal lead time, because it is repeating.<br />
Therefore the evaluation of such a job when it repeats must not lead to an abort.</p>

<p>Fixes <a href="https://bugs.kde.org/show_bug.cgi?id=398415" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=398415</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Use "duplicated_scheduler_jobs_no_twilight", but change the sequence so that the duplicated job repeats after the lead time.<br />
Without the change, when a job repeat, a message is logged that that job is aborted, and that job is re-evaluated to restart.<br />
With the change, when a job repeats, no message is logged, and that job repeats without state change.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__repeated_job_aborting (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15388">https://phabricator.kde.org/D15388</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>