Hi, I believe there is an issue with the LDAP tests in geoserver, although it may depend on platform. Each test an LDAP server is set up locally on port 10389 and automatically shut down at the end. After a few tests it randomly occurs that it takes a while (perhaps about half a minute) to shut the server down, without apparent reason (but the stopping method ends immediately). After that all other ldap are skipped because the port is still busy (an "assume" command is used to test whether the server can be set up on the port). If all the tests are skipped, we may miss changes that break tests and that defeats their purpose.
I have found no way to solve this issue, apart from actively waiting at the end of each test in a loop until the port has been released. This works and solved the problem temporary for me locally. Problem with that is that the build will randomly stop and wait for a while a few times during the ldap tests. Perhaps we could even risk creating an endless loop. I have found a message on a forum about this online http://forum.spring.io/forum/spring-projects/data/ldap/101924-occasional-error-binding-to-ldap-port-when-using-testcontextsourcefactorybean They say these kind of problems are solved in spring security 1.3.2. We use 1.3.1, and I was wondering if we could perhaps upgrade. Regards Niels ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
