Issue Bug Closed

#103509RotatingFileWriterTest fails as there is no 30th of February

Andreas Kienast 03/30/24, 14:26 updated 07/09/24, 15:36

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.

Reviews 1

History 26

  1. Gerrit Code Review pushed patch set 1 for main to change 83630 status In Progress Under Review 03/30/24, 14:33

  2. Gerrit Code Review pushed patch set 2 for main to change 83630 03/30/24, 15:49

  3. Gerrit Code Review pushed patch set 3 for main to change 83630 03/30/24, 15:54

  4. Gerrit Code Review pushed patch set 4 for main to change 83630 03/30/24, 16:04

  5. Andreas Fernandez commented and changed status Under Review Resolved done 0 % 100 % 03/30/24, 16:30

    Applied in changeset commit:9ed4d37017bb1d33c6ae1ca9d2a819311cba3102.

  6. Benni Mack changed status Resolved Closed 07/09/24, 15:36