minkphp / MinkZombieDriver

Zombie.js driver for Mink framework
41 stars 49 forks source link

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

Open christopher-francisco opened 7 years ago

christopher-francisco commented 7 years ago

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.

aik099 commented 7 years ago

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

christopher-francisco commented 7 years ago

@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!