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

Pass on gradle JVM system property to test JVM #514

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

XiangRongLin
Copy link
Collaborator

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

Seems like i misunderstood how gradle system properties work and somehow even missed it.
Now the system property is actually accessable from inside the tests, meaning CI jobs with a different downloader passed in via CLI, will actually use those downloaders

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Maybe add a comment explaining why that piece of code is there

@XiangRongLin
Copy link
Collaborator Author

@Stypox done

@Stypox Stypox merged commit b9ba956 into TeamNewPipe:dev Jan 15, 2021
@XiangRongLin XiangRongLin deleted the test_jvm_property branch January 15, 2021 19:45
@TobiGr TobiGr mentioned this pull request Jan 18, 2021
14 tasks
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.

2 participants