liip / liip/LiipFunctionalTestBundle

Kernel not cleaned up in getContainer()

Open
#152 4 comments 0 reactions 0 assignees View on GitHub
bug ready verified
Dominant language
PHP
Stars
648
Forks
179
PR merge metrics
No merged PRs in 30d

Description

Running several [`WebTestCase`](https://github.com/liip/LiipFunctionalTestBundle/blob/master/Test/WebTestCase.php) descendants leads to `UnexpectedValueException: RecursiveDirectoryIterator::__construct(...): failed to open dir: Too many open files`. Perhaps this is due to kernel not being reused correctly?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Test/WebTestCase.php and inspect the getContainer() entry point, then reproduce the failure by running several WebTestCase descendants. Trace how the kernel is handled across those runs and verify that repeated tests no longer lead to the reported Too many open files exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.