PHPSessionHandlerTest::testSessionHandling() sleeps for three seconds each time it is invoked. It gets invoked three times (once for each dataset provided by its dataProvider method), for a total of 9 seconds, making it the slowest test in core by a comfortable margin. There ought to be a way to simulate the passage of time using mocks and test doubles.
Description
Description
Details
Details
Related Objects
Related Objects
- Mentioned Here
- rMW25dbd91513f1: Clean up after Ie161e0f
Event Timeline
Comment Actions
Change 289360 had a related patch set uploaded (by Ori.livneh):
PHPSessionHandlerTest: don't sleep() to test PHP
Comment Actions
Change 289360 merged by jenkins-bot:
Remove a test case from PHPSessionHandlerTest::testSessionHandling()
Comment Actions
Change 292130 had a related patch set uploaded (by Hashar):
Remove a test case from PHPSessionHandlerTest::testSessionHandling()
Comment Actions
Change 292130 merged by jenkins-bot:
Remove a test case from PHPSessionHandlerTest::testSessionHandling()