-
Notifications
You must be signed in to change notification settings - Fork 155
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
Tests fail #5
Comments
remote actors refuse to connect REMOTE: RemoteClientError@akka://RemoteProcess@127.0.0.1:38777: Error[java.net.ConnectException:Connection refused |
Setting 'fork in Test in ThisBuild := false,' in SBT seems to allow the subprocess tests to pass. Not clear what is going on yet. -- Reminiscent of a classpath issue that I have seen before, my guess is that 'forked' VMs are not starting with the right CP. (Subprocess makes a weak attempt to use the classpath of the host VM when spawning new VMs for kernel processes) |
These are the parameters my VMs are running with, if that helps:
|
Looking at my log, I see (omitting stuff in between messages):
followed by all the errors. So it decides to shut down the remote actor on 59432 (it starts up another one on 59437 in between) and then tries to connect to it anyway, and barfs when it can't. |
Well, have them passing in Scala-IDE test runner by passing host VM boot classpath to spawned processes (this is how scala-library is set here), but does not help with SBT. |
Dan, I don't see the scala-compiler jar on your classpath. This would cause a failure while initializing the kernel actor in the spawned VM, and probably cause it to be shut down. |
Nevermind last comment, subprocess tests do not use the compiler... Saw the Akka SBT thing, purpose is to launch multiple VMs from sbt, but we need to dynamically spawn w/o SBT. |
Yeah, I guess not :( grr! |
Tests now passing in master (2.9) branch |
Fixed less.jsm to point to working source
This makes the travis badge look really sad, and is probably bad for other reasons too.
Furthermore, some tests appear to actually hang, on travis at least. It's hard to say which given the noisy output, but someone might be able to parse https://travis-ci.org/copumpkin/scala-notebook/builds/5490351 better than I can.
The text was updated successfully, but these errors were encountered: