rocjs / roc-plugin-test-mocha-karma-webpack

Adds a way to easily test Webpack projects in Roc
MIT License
2 stars 1 forks source link

Linux ends the test with exit code 141 #2

Closed dlmr closed 8 years ago

dlmr commented 8 years ago

Seems like the Socket.io engine does not shutdown the connection after the tests have been completed on Linux resulting in the non-zero exit code 141.

This is not a problem on Mac and at the moment the reason for this is unknown. It might be some combination of Karma, Socket.io and PhantomJS.

Previous attempts to solve this #1 does not seem to work.

dlmr commented 8 years ago

It seems that this is related to socket.io.

When running the test command under Linux the Socket.io engine is never closed down before the process exists resulting in the 141 exit code.

More specifically this never happens on Linux, this however works fine on Mac.

engine closing all open clients +202m
dlmr commented 8 years ago

A temporary fix has been merged from #4.

We should continue look into this however and find a better solution.