8000 [RFC] Move tests dependent on url resources to travis localhost so it can speed these tests · Issue #9907 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
8000

[RFC] Move tests dependent on url resources to travis localhost so it can speed these tests #9907

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

Closed
cordoval opened this issue Dec 30, 2013 · 2 comments

Comments

@cordoval
Copy link
Contributor

some tests are slowing down the suite because they download resources from certain external web urls. As @stloyd suggested we can move these to download from the localhost within travis so that the tests actually go faster. This could potentially create fixtures of files and thereby make a bit bigger the symfony repository however i think is a feasible option to avoid slowing down the test suite.

👶

@fabpot
Copy link
Member
fabpot commented Apr 28, 2014

Can you list the resources that are actually downloaded during tests?

@stof
Copy link
Member
stof commented Apr 28, 2014

https://github.com/symfony/symfony/blob/339c0c809953097d5927e7adb30a65219a269b7a/src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php and

public function testNonSeekableStream()

but making these tests run locally would require installing an FTP server on Travis, which would probably be even slower

@fabpot fabpot closed this as completed Apr 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0