Skip to content

Commit a901619

Browse files
authored
Fix test failure due to table fetch
1 parent 68d679b commit a901619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ private function cleanupRunningJobs($groupId)
711711
$jobs = $this->_config->getJobs();
712712

713713
$connection->update(
714-
$scheduleResource->getMainTable(),
714+
$scheduleResource->getTable('cron_schedule'),
715715
[
716716
'status' => \Magento\Cron\Model\Schedule::STATUS_ERROR,
717717
'messages' => 'Time out'

0 commit comments

Comments
 (0)