From 27241f171961cfc8198d6356e5e579c3bf547aa5 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Mon, 4 Jan 2021 17:04:24 -0800 Subject: Add unit test for QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(). (#16996) * Add unit test for QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(). * move tests to integration --- core/CronArchive/QueueConsumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/CronArchive/QueueConsumer.php b/core/CronArchive/QueueConsumer.php index fc58c5085b..10a2bcc1a8 100644 --- a/core/CronArchive/QueueConsumer.php +++ b/core/CronArchive/QueueConsumer.php @@ -386,7 +386,7 @@ class QueueConsumer return $loader->canSkipThisArchive(); // if no point in archiving, skip } - private function shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(array $archiveToProcess) + public function shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(array $archiveToProcess) { $inProgressArchives = $this->cliMultiRequestParser->getInProgressArchivingCommands(); -- cgit v1.2.3