Project

General

Profile

Actions

Bug #103509

closed

RotatingFileWriterTest fails as there is no 30th of February

Added by Andreas Kienast about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-03-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The test RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotates currently fails with the following error:

1) TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotates with data set #2 (TYPO3\CMS\Core\Log\Writer\Enum\Interval Enum (MONTHLY, 'monthly'))
Failed asserting that actual size 1 matches expected size 2.

The reason is that the test creates a log file that is expected to be rotated which fails for the "monthly" case as there is no February 30th.

Actions #1

Updated by Gerrit Code Review about 1 month ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83630

Actions #2

Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83630

Actions #3

Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83630

Actions #4

Updated by Gerrit Code Review about 1 month ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83630

Actions #5

Updated by Andreas Fernandez about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF