-
Notifications
You must be signed in to change notification settings - Fork 686
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-17321: Fix TestSolrCoreSnapshots.testBackupRestore #2539
SOLR-17321: Fix TestSolrCoreSnapshots.testBackupRestore #2539
Conversation
Is there anyway to test this on Windows? |
This will probably work, but using a string builder to build a URL just seems wrong (and this isn't the only place in the file that does it). It will probably be harder, but it would be great if we could build URL/URIs in a correct way in |
Replaced the Is there any way to test |
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.
LGTM. Is the URIBuilder something that we should be using in more places?
I certainly think so |
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.
This looks great!
How do we get these tasks actually tracked and moved forward? Worth opening a jira? We have a patten of "we should do" but then it's just in our heads! |
That could be quite a list; I'm not sure what tracking it accomplishes. If something is important enough, create a JIRA. Ideally when a "we should do" is identified, it can be done everywhere instead of just one spot. |
TestSolrCoreSnapshots.testBackupRestore test started failing on Windows after merging #2501.
Thank you @HoustonPutman for reporting this. This one specifically failed due to the backslash in the windows location path that passed to the URI ctor.
The solution for this issue is to encode all the passed params before passing it to the URI ctor.
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.