-
Notifications
You must be signed in to change notification settings - Fork 16
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
Restrict the range of JVMs that need security policy flags set #42
Restrict the range of JVMs that need security policy flags set #42
Conversation
a1a3aa9
to
990110c
Compare
It seems like there is a threading issue. I can exacerbate the problem by running the tests on a hotspot JVM, and most of the errors happen here in Suppliers.java. What I can't tell yet is whether this is a problem at runtime or if it's just a problem during testing. I'm moving this PR to the draft state until that gets figured out. |
I have been getting intermittent failures when building locally and in GitHub Actions. This failure is different than the failed test case in this build but it wouldn't surprise me if it's related.
I'd say the build passes every 2 out of 3 times for me. |
- Fix a typo in the security policy file - Reference the security policy file for tests Signed-off-by: Scott Stults <[email protected]>
Restrict the range of JVM versions that need security manager flags Signed-off-by: Scott Stults <[email protected]>
Signed-off-by: jzonthemtn <[email protected]> Signed-off-by: Scott Stults <[email protected]>
Signed-off-by: jzonthemtn <[email protected]> Signed-off-by: Scott Stults <[email protected]>
Signed-off-by: Scott Stults <[email protected]>
e0ad7d4
to
1a00e97
Compare
Signed-off-by: Scott Stults <[email protected]>
It looks like this issue was addressed in this PR for ES-LTR. After bringing this change over I'm getting reliable builds locally. |
Tests passed! Closing. |
…earch-project#42) Signed-off-by: Scott Stults <[email protected]> Signed-off-by: jzonthemtn <[email protected]> Co-authored-by: Jeff Zemerick <[email protected]> Signed-off-by: Scott Stults <[email protected]>
Description
We currently test against versions 11, 17, and 21. For version 17 we need to add a policy file, but for version 21 the security manager flags throw an error. This PR restricts the versions that need the flags set to > 11 and < 21.
Issues Resolved
n/a
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.