-
Notifications
You must be signed in to change notification settings - Fork 353
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
Can we switch the port used by PiTest #243
Comments
I'm not that familiar with socket libraries, but according to the SO below, should we also check DatagramSocket? http://stackoverflow.com/questions/434718/sockets-discover-port-availability-using-java |
I think it might be possible to replace the whole thing with This would change to port range to something outside of pitest's control so it can't be parameterised, but should push the responsibility for finding an ephemeral port to the JDK. |
@caligarisdesk I've published a 1.1.8 snapshot, can you let me know if it resolves the issue. |
Cool, thanks! I'm having trouble pulling down a snapshot build, but as long as the port used keeps changing, it should work well for my configuration. |
@caligarisdesk 1.1.8 has now been released with this change. Can you report back if it has/hasn't resolved the issue. |
Thanks for the release! Just brought 1.1.8 via the gradle plug-in with the same vagrant/couchbase condition as before. Pitest runs and completes successfully. |
I noticed that PIT uses port 8092. Unfortunately, when running couchbase through vbox, pitest does not always detect that port 8092 is in use. As a result, pitest hangs.
http://www.speedguide.net/port.php?port=8092
pitest/pitest/src/main/java/org/pitest/util/SocketFinder.java
Line 25 in d4db566
I didn't see that one could change the default port used. Can we add this as a parameter?
The text was updated successfully, but these errors were encountered: