-
Notifications
You must be signed in to change notification settings - Fork 41.2k
TomcatServletWebServerFactoryTests.pkcs12KeyStoreAndTrustStore() is flaky on CI #26252
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
Comments
I think that's caused by https://bugs.openjdk.java.net/browse/JDK-8156584 - if I'm not mistaken it's flaky on JDK 8 and not on higher versions, right? |
Yeah, that's absolutely right. Many, many thanks for the JDK bug link. I'd been suspecting some corruption of the providers but hadn't considered it could be due to a race condition. I was hunting for something messing around with system properties and the failure being due to test ordering. Now to figure out how to work around it… I'm a little bit surprised that the build is calling |
Aren't the tests executed in parallel, generally? Maybe we could fiddle around with the system property |
Tests from different projects can be run in parallel, but that happens across separate worker JVMs. There's no parallel execution within an individual JVM.
That's worth a try, I think. Thanks for the suggestion. |
This change breaks the caching of every |
…vention Closes spring-projectsgh-26252 (cherry picked from commit 2a47751)
The first attempt is failing fairly frequently, but not always, with the following exception:
From what I've seen thus far, when it fails on the first attempt it then always succeeds on the second attempt. How an algorithm can be inconsistently available is a mystery to me at the moment.
The text was updated successfully, but these errors were encountered: