-
Notifications
You must be signed in to change notification settings - Fork 75
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
Symfony process ProcessTimedOutException #63
Comments
@beyondcompute I got around this by wrapping phpunit-watcher with nodemon. nodemon --watch ./app --watch ./tests/ -e php --exec composer watch Where
and |
Thank you, @mykeels! 🙌 |
Hey, @beyondcompute ... I found that setting the ./vendor/bin/phpunit-watcher watch --timeout 0 |
Thanks again @mykeels! Thatʼs really good advice! |
This flag doesn't work for me |
Closing this, as this is solved for most people. |
This worked for me in "config" : {
"process-timeout": 0
}, I tried setting the env var for just the "scripts" : {
"test" : "phpunit",
"test:watch" : "COMPOSER_PROCESS_TIMEOUT=0 vendor/bin/phpunit-watcher watch"
} ...but couldn't get that working 🤷♂ |
This provides similar features for PHP tests that Jest provides for JavaScript tests. The `process-timeout` option is disabled so that phpunit-watcher can run indefinitely. See spatie/phpunit-watcher#63 (comment)".
This provides similar features for PHP tests that Jest provides for JavaScript tests. The `process-timeout` option is disabled so that phpunit-watcher can run indefinitely. See spatie/phpunit-watcher#63 (comment)".
nothing of the above works :(
.... |
Did you try |
I do not even use composer for running the script. What was finally working was adding a config file setting: $ cat >> .phpunit-watcher.yml
phpunit:
timeout: 180
^D interestingly, I could not find a way to set this option via any other means, like phpunit.xml for example. I realy hate this ecosystem. So many packages, so unbelievable bad quality, so much crappy software, |
The new advice from the "test:watch": [
"Composer\\Config::disableProcessTimeout",
"phpunit-watcher watch"
], |
Why this has received down votes I have no idea, it is the only thing that worked for me. |
Hello!
I am getting this while running
phpunit-watcher
:Symfony 4.0.0
The text was updated successfully, but these errors were encountered: