Closed
Description
Preconditions and environment
- Magento
2.4-develop
branch
Steps to reproduce
Run integration test for Magento\Company\LoggingTest
around 58/59 seconds after the minute. (this is only guessing here, I just ran into this accidentally)
Expected result
Test never fails
Actual result
Test is flaky and seems to depend on 2 different minutes in timestamps:
PHPUnit 9.5.20 �[44m#StandWith�[0m�[43mUkraine�[0m
Warning: Using a custom test suite loader is deprecated
..........................................F....II.... 53 / 53 (100%)
Time: 05:29.716, Memory: 623.00 MB
There was 1 failure:
1) Magento\Company\LoggingTest::testEditCompanyActionLogging
Failed asserting that '2023-02-16 18:26:59' contains "2023-02-16 18:27".
/var/www/html/dev/tests/integration/testsuite/Magento/Company/LoggingTest.php:301
/var/www/html/dev/tests/integration/testsuite/Magento/Company/LoggingTest.php:88
FAILURES!
Tests: 53, Assertions: 134, Failures: 1, Incomplete: 2.
=== Memory Usage System Stats ===
Memory usage (OS): 787.79M (127.27% of 619.00M reported by PHP)
Estimated memory leak: 168.79M (21.43% of used memory)
Additional information
Ran into this while working on #36878
Release note
Not important to include in release notes
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.