-
-
Notifications
You must be signed in to change notification settings - Fork 2
Refactor integration tests #142
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
Conversation
<execution> | ||
<id>make-cli-executable</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<chmod file="${project.build.outputDirectory}/bin/**" perm="755"/> | ||
</target> | ||
</configuration> | ||
</execution> |
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.
When copied to target
the binaries were not set as executable, causing the tests to fail on my machine.
This did not happen everytime, I guess it was dependent on the order of maven commands you run.
Regardless, this fixes it.
src/test/java/io/sentry/integration/uploadSourceBundle/UploadSourceBundleTestIT.kt
Outdated
Show resolved
Hide resolved
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.
Nice one, LGTM!
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.
Good Work, LGTM 👍
📜 Description
Refactors the integration tests to have a uniform structure (package for the goal they test + dedicated
PomUtils
) and updates the Makefile with a command to run them.#skip-changelog