-
Notifications
You must be signed in to change notification settings - Fork 164
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
issue #91: SocketException: Software caused connection abort #171
Conversation
@@ -329,21 +329,25 @@ protected VMRunnerConfiguration createVMRunner(final ILaunchConfiguration config | |||
public String[] getClasspath(ILaunchConfiguration configuration) | |||
throws CoreException { | |||
String[] originalClasspath = super.getClasspath(configuration); | |||
// add remote testng jar file at the very begining to make sure this is loaded in prior of the user's testng.jar | |||
String[] classpathArray = new String[originalClasspath.length + 1]; | |||
classpathArray[0] = BuildPathSupport.getRemoteTestNGLibPath(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add remote testng jar file at the very begining to make sure this is loaded in prior of the user's testng.jar
Hi @cbeust @juherr i think what @juherr proposed might solve this. but i'm not sure if we really want to support that old version, or shall we add minimum supported testng version in plugin? |
I suppose 6.5.1 will be enough but more could be fun. |
ah, good question, i'm afraid we can't, |
I think it is possible to configure maven to output a MANIFEST.MF file with all the build information. Including when using the mvn release plugin. |
Yep, good idea. I checked and the |
quoted from @juherr
generally, i think it's the right approach. But when we're talking about API, it means both the Java Interfaces (e.g. methods signatures) but also the data protocol spec, after look at the version of 6.3.1, my current concern is, 6.3.1 is missing the "instanceName" property in TestResultMessage which means it breaks the data protocol, I'm not sure if this will work or not without "instanceName"... |
or, try to make it clear, let's say, the solution need consider at both the plugin side and TestNG runtime side. @juherr, are we both holding the assumption that, there will be only one version of remote testng at plugin side which will communicate with the facade remote testng (which will delegate the request to the specific version of remote testng) at TestNG runtime side? otherwise, i might have more concerns that let's talk about them later. |
Yes, we are agree.
But it's clearly a "fun" feature with a low priority IMO. We just have to think a bit about it in order to have an architecture which will permit it later. |
yes, agreed. @cbeust |
I'm fine with supporting only 6.5.1+. |
Any reason why this PR removes the JUnit 4 jar file? |
junit.jar was used by the plugin, now plugin depends on the existing org.junit plugin so that we can save the dist plugin size. |
@cbeust
|
|
My suggestion:
Is everybody okay with this? |
yeah, sounds good:) |
Thanks, @missedone. Everybody on board with merging this PR? |
👍 |
issue #91: SocketException: Software caused connection abort
the solution is as i stated in testng-team/testng#777 that use the plugin embedded testing-remote.jar as the agent for communicating TestNG runtime with plugin
the testng-remote source code is splitter out from the main testng git repo: https://github.com/missedone/testng-remote