[JIRA] (IDP-2025) Transitory errors on Windows V5 nightly builds
Daniel Fisher (Jira)
jira at shibboleth.atlassian.net
Fri Oct 28 23:55:38 UTC 2022
Daniel Fisher ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A5040b2f7-37ad-4449-b621-76b5c7e66a9d ) *commented* on IDP-2025 ( https://shibboleth.atlassian.net/browse/IDP-2025?atlOrigin=eyJpIjoiN2I2Y2RmZGJlZWNhNGIyYjk3NWY2NDU2YmRjYzA5MmQiLCJwIjoiaiJ9 )
Re: Transitory errors on Windows V5 nightly builds ( https://shibboleth.atlassian.net/browse/IDP-2025?atlOrigin=eyJpIjoiN2I2Y2RmZGJlZWNhNGIyYjk3NWY2NDU2YmRjYzA5MmQiLCJwIjoiaiJ9 )
Pushed http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commitdiff;h=d33fc652c81f96710be994815cac70ce39f85a5e ( http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commitdiff;h=d33fc652c81f96710be994815cac70ce39f85a5e ) as a first attempt to clear these errors. I didn’t quite get where I wanted to go with this patch. It was too difficult to tie the LDAP server to the spring lifecycle and continue to support the myriad of ways tests can be executed. (A single test, some tests, all tests, etc)
I decided to use a static instance of an InMemoryDirectory. This alone won’t prevent connection errors in the logs since the test framework still runs @After before the spring context is finished closing. However, by changing InMemoryDirectory#stop so that it doesn’t close existing connections, those errors no longer occur.
Leaving this issue open to see if more work is required.
( https://shibboleth.atlassian.net/browse/IDP-2025#add-comment?atlOrigin=eyJpIjoiN2I2Y2RmZGJlZWNhNGIyYjk3NWY2NDU2YmRjYzA5MmQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2025#add-comment?atlOrigin=eyJpIjoiN2I2Y2RmZGJlZWNhNGIyYjk3NWY2NDU2YmRjYzA5MmQiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- sha1:d23b292 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221028/dcce64ee/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-82d0eefa-43e2-4eb8-92ae-fd22bdae7e21
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221028/dcce64ee/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-7b513466-ab19-40e6-8622-c3251fad7edb
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221028/dcce64ee/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-46226e34-5398-46ba-bb02-93fd219b32d9
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221028/dcce64ee/attachment-0005.png>
More information about the commits
mailing list