-
Notifications
You must be signed in to change notification settings - Fork 143
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
Build never finishes when using codeception #217
Comments
@jwmwalrus Thanks! |
@jwmwalrus I see two probable causes:
Can you stop PHP Censor worker, run worker command manually from console and start same build? Worker died in the building process? |
Hi. I did as you said (I guess):
Everything runs as expected until the last two lines:
At this point,
The But the worker is still hung at the I used a shorter acceptance suite this time (it runs in under 9 minutes), so it seems the PHP Censor is just waiting until the timeout ( |
@jwmwalrus Thanks. I will try to reproduce and fix it. |
for get status process you use shell command: And we use on this server second project, and codecept working by several hours for other project. And we wait several hours, instead several minutes for this small project with several tests. And this code looks like hack. You can use symfony process isRunning function. |
The code is indeed a hack, but it's much better than the previous hack ;-) Codeception doesn't exit properly ---i.e., the In the current implementation of |
what version codeception are you using? |
Hi.
In order to get a much more accurate value of coverage (as I mentioned in #216), I'm trying to test running the equivalent acceptance suite using codeception.
Even though running the current tests should not take more than 20 minutes (and codeception's log at
/var/www/php-censor/runtime/builds/1/116_36f93be7/tests/_output/acceptance-2018-10-02
shows that all the tests already passed), PHP Censor's webview still keeps showing Codeception step as running ---and it never finishes doing so.After php-censor.queue.lifetime's time value is reached (in my case,
6000
), then the log shows the infamousCan
t build - status is not pending`. The only way to stop the build it is to delete it.Codeception-related config is:
Environment
The text was updated successfully, but these errors were encountered: