-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Finder test failure #27480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, I don't reproduce this issue, tests pass on my laptop. Can you debug why it fails and submit a PR if you find something to fix? |
I don't know how to debug this, please advise. |
I can't reproduce this anymore, i will reopen and try to look around in the fileystem at the time this error occurs. |
Oh actually i can reproduce this .. i had another project with Finder that doesn't clean up. I'll try to find the problem and make Finder a bit more resilient. |
About the FinderTest .. all paths are hardcoded, should they stay like that or can the right paths be searched? For example .. symfony/src/Symfony/Component/Finder/Tests/FinderTest.php Lines 330 to 352 in d8739d1
|
This PR was submitted for the master branch but it was squashed and merged into the 2.8 branch instead (closes #27508). Discussion ---------- [Finder] Update RealIteratorTestCase | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27480 | License | MIT | Doc PR | n/a Makes the entire test directory empty instead of trying to delete particular files and directories. The old method failed when trying to remove a directory which was not empty. Commits ------- 7d0ebd4 [Finder] Update RealIteratorTestCase
Symfony version(s) affected: master (of today)
Description
mkdir failure
How to reproduce
./phpunit src/Symfony/Component/Finder/
Possible Solution
no
Additional context
Truncated many more lines all caused by failure at line 57 of
RealIteratorTestCase.php
PHP 7.2.5
OS: ubuntu 16.04
The text was updated successfully, but these errors were encountered: