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

Update junit version to 5.6.2 #1079

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Update junit version to 5.6.2 #1079

merged 1 commit into from
Nov 17, 2022

Conversation

rupal-bq
Copy link
Contributor

Signed-off-by: Rupal Mahajan [email protected]

Description

Added junit to resolutions.
junit 4.13 was identified at
prometheus/build.gradle > testCompileClasspath > [email protected] > [email protected]

Issues Resolved

CVE-2020-15250

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@rupal-bq rupal-bq requested a review from a team as a code owner November 16, 2022 18:53
@@ -42,6 +42,7 @@ test {
configurations.all {
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:1.6.0"
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0"
resolutionStrategy.force "org.junit.jupiter:junit-jupiter:5.6.2"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it safe to use alpha releases? Curious as to whether it is better to force it here or to upgrade mockwebserver to a version that doesn't bring in the older version

https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is better to upgrade but 4.10 has the same junit CVE and 5+ are alpha candidates.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

LGTM

@penghuo penghuo merged commit cdb30ee into opensearch-project:2.x Nov 17, 2022
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.

4 participants