Skip to content
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

#2761 Exception: ERROR java.nio.file.NoSuchFileException: /tmp/testng… #2763

Closed
wants to merge 1 commit into from

Conversation

martinaldrin
Copy link

…XmlPathInJar

Fixes #2761

Did you remember to?

  • Add test case(s)
  • Update CHANGES.txt
  • Auto applied styling via ./gradlew autostyleApply

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

Note: For more information on contribution guidelines please make sure you refer our Contributing section for detailed set of steps.

Copy link
Member

@juherr juherr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, could you add a non regression test for issue?

@martinaldrin
Copy link
Author

martinaldrin commented May 19, 2022

Please, could you add a non regression test for issue?

How to add a non regression test for this?

I did a try to add reproduce the fault in JarFileUtilsTest, but I did not manage.
I don't fully understand how to test this part of code.

@krmahadevan
Copy link
Member

@martinaldrin @juherr - I have raised a PR that fixes this, applies the fix in other possible impacted areas as well along with test as well #2764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception: ERROR java.nio.file.NoSuchFileException: /tmp/testngXmlPathInJar-15086412835569336174
3 participants