-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
zombie-instance of testrpc
sometimes remains running in background
#431
Comments
@SCBuergel Are you only seeing this issue on port 8555? Could you post a link to the repo you're testing, or the contents of your
|
Hi @SCBuergel, I've noticed this as well and have already pinned down the cause, I think. It was introduced in #369 and is due to Sorry for the inconvenience! I will fix it asap. |
It's odd that this is happening on port 8555, though. That port should be used only with |
@frangio you are right, we were running with solidity-coverage hence that port but the behaviour seems to be the same disregarding if we have coverage on or not (just on the normal port then). |
@SCBuergel Please check out the changes I merged in #445 and let me know if the issue was fixed on your side. |
Expected behaviour: Running
npm test
should run tests, starttestrpc
(if needed) in background, produce output messages and/or errors and then terminate thetestrpc
that is running in background.Actual behaviour: Upon running the Zeppelin test setup against some other smart contracts,
testrpc
sometimes remains running in the background. This breaks all following attempts to run a test becausetestrpc
attempts to start anew with the same port. (It seems that you are runningtestrpc
on port 8555?).Both the initial output as well as the log file are not really helpful. The console output looks as follows:
and here the output of the
debug.log
file:This issue surfaces only sometimes and is hard to reproduce for us.
indeed we see something is still running on port 8555:
Upon manually killing that process, the test runs again.
It would be good to prevent testrpc from running as a zombie instance in the background to begin with.
The text was updated successfully, but these errors were encountered: