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

SOLR-16346: Fix intermittent 'check' error #1043

Conversation

gerlowskija
Copy link
Contributor

Description

A previous commit for SOLR-16346 introduced a usedUndeclared 'check' error that only showed up in some limited environments.

Solution

This commit fixes that check error by declaring the correct dep: switching 'swagger-core' out for 'swagger-annotations'.

Tests

N/A - 'check' passes in all environments.

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.

A previous commit for SOLR-16346 introduced a usedUndeclared 'check'
error that only showed up in some limited environments.

This commit fixes that check error by declaring the correct dep:
switching 'swagger-core' out for 'swagger-annotations'.
@@ -415,5 +411,6 @@ org.springframework.boot:spring-boot-starter-jetty:2.3.12.RELEASE (1 constraints
org.springframework.boot:spring-boot-starter-json:2.3.12.RELEASE (1 constraints: 03178f4e)
org.springframework.boot:spring-boot-starter-logging:2.3.12.RELEASE (1 constraints: 98154deb)
org.springframework.boot:spring-boot-starter-web:2.3.12.RELEASE (1 constraints: 1d0d3137)
org.yaml:snakeyaml:1.26 (1 constraints: 0c13dd1f)
Copy link
Contributor

Choose a reason for hiding this comment

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

What still depends on this? Should we figure that out and upgrade

Copy link
Contributor Author

@gerlowskija gerlowskija Sep 25, 2022

Choose a reason for hiding this comment

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

./gradlew dependencies shows that it's pulled in transitively by the s3mock test dep in the s3-repository module.

So I guess s3-mock would be the thing to update if we're concerned about it? It looks like we used 1.30 prior to this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

It existed previously. It moved with the previous commit from test only. This just puts it back.

@gerlowskija gerlowskija merged commit bf7b86a into apache:main Sep 25, 2022
@gerlowskija gerlowskija deleted the SOLR-16346-address-intermittent-check-error branch September 25, 2022 18:13
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.

3 participants