-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Changes needed for TestNG to work for OpenJDK tests #1018
Conversation
…un with only java.base module present.
@@ -43,6 +41,8 @@ | |||
import org.testng.internal.thread.graph.SuiteWorkerFactory; | |||
import org.testng.junit.JUnitTestFinder; | |||
import org.testng.log4testng.Logger; | |||
import org.testng.remote.SuiteDispatcher; |
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.
the remote package was moved to https://github.com/testng-team/testng-remote in PR #953
is there any special reason you added it back?
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.
Ugh, sorry.
Lemme fix that.
I have reverted the un-intentional changes. My apologies. I do, however, see that now JDK tests are failing with java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException - as of now I do not know the reason. |
👍 For the PR. Could you just update the CHANGES file to warn about the api change? About your issue, are you running the tests with IntelliJ? Someone else has the same problem: http://stackoverflow.com/questions/36443730/java-lang-noclassdeffounderror-though-testng-is-not-imported |
|
|
This |
I have updated the repo with an extra line in CHANGES.txt. Did that on Fri, I think. What would happen next? Shura
|
👍 Next step: waiting @cbeust approval and the merge :) |
Looks like we're down to just the removal of Merging! |
Next step for you @shurymury: use the TestNG SNAPSHOT to confirm you no longer need your custom version. |
With Jigsaw, some tests need to be executed with only java.base module present. Some of the OpenJDK tests use TestNG.
This change includes minimal fixes to allow those tests to work.