-
Notifications
You must be signed in to change notification settings - Fork 246
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
HSEARCH-4947 Make sure that nested jars can be read on Windows #3730
HSEARCH-4947 Make sure that nested jars can be read on Windows #3730
Conversation
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, but let's merge #3729 first and rebase this one, so we can run the relevant tests on the Windows CI.
@marko-bekhta Can you please open a backport PR for 6.2? |
ok will do it once we run this with Win tests on CI 😃 |
@marko-bekhta You can rebase now :) |
f78d814
to
07d6083
Compare
... and powershell doesn't support escaping newlines, nice. I'll push a fix to your branch. |
07d6083
to
bba89b3
Compare
Thanks for your pull request! This pull request does not follow the contribution rules. Could you have a look? ❌ All commit messages should start with a JIRA issue key matching pattern › This message was automatically generated. |
11a84c9
to
5f4d402
Compare
I disabled Elasticsearch tests on Windows, because of actions/runner-images#1143 (comment) Let's see if tests using the stub and Lucene backends pass, at least. |
e0473b3
to
52786f1
Compare
52786f1
to
7be2065
Compare
7be2065
to
4562161
Compare
I've rebased this PR and removed |
Right, that's what I meant to do to begin with... sorry :/ |
Powershell would not support escaping newlines, and would interpret dots as some object-oriented field accessor. None of this nonsense, let's just use bash.
…rom the Maven CLI
For some reason they don't work
The documentation states that we should only get forward slashes here, but that doesn't seem to be the case.
4562161
to
e2ec030
Compare
Thanks 😃 I was just about to look at the outbox polling tests 🙈 |
d4f7212
to
addd210
Compare
FYI the outbox-polling tests now get executed, but some of them fail on Windows for some reason... and it's hard to know what's going on because we don't get a build report because of actions/upload-artifact#240 🙄 |
addd210
to
6b18883
Compare
Not strictly necessary, but while we're at it...
6b18883
to
fb1bdab
Compare
Ok, I disabled the outbox-polling tests on Windows for now and created https://hibernate.atlassian.net/browse/HSEARCH-4965 to investigate the failures later. |
Kudos, SonarCloud Quality Gate passed! |
https://hibernate.atlassian.net/browse/HSEARCH-4947
The idea here is that since we are trying to construct a URI then we should construct it from the URI 😃
Since in the case of Linux
Path
path would have the same/
that is needed for a URI, but then in Windows, it'll be\
, and URI construction won't work...And the same is about the test updates; the changes are to make the asserts compare the URIs rather than Path vs URI
I've reverted the ORM version to 6.2 series to test the spring boot uberjar module -- the tests passed with these changes.