MinkZombieDriver icon indicating copy to clipboard operation
MinkZombieDriver copied to clipboard

Zombie Server is still active and listening to port after a Behat exception

Open christopher-francisco opened this issue 9 years ago • 2 comments

When $ behat crashes due to an exception (for example, you didn't import the namespace so a class couldn't been found), the mink-zombie-server.js is still active and listening to the port.

This translates in not being able to execute $ behat a second time without previously killing the process manually using ps aux | grep node, grabbing the pid and then $ kill <pid>.

It does sound weird that this would be a bug since this seems to me as very basic, so maybe it's just something that I'm missing. If this is the case, I apologize and please point me towards the solution.

Thanks in advance.

christopher-francisco avatar Nov 21 '16 16:11 christopher-francisco

The #125 should have fixed it. Not sure if a fix was released yet. Can you please try using master branch of MinkZombieDriver?

aik099 avatar Nov 21 '16 16:11 aik099

@aik099 sure, I used composer to install so I'm probably not using master branch but a tagged release, I'll do that and let you know!

christopher-francisco avatar Nov 21 '16 16:11 christopher-francisco