On Mon, 2008-02-25 at 22:47 +0100, Oleg Kalnichevski wrote: > On Sat, 2008-02-23 at 10:17 +0100, Roland Weber wrote: > > Hi Oleg, > > > > Oleg Kalnichevski wrote: > > > Erik Abele wrote: > > >> > > >> - Tests & build are fine on Linux but my OS X setup shows one > > >> failure and several errors (though that's probably due to something > > >> local) > > > > > > Here we seem to have a real issue. The test failures are easily > > > reproducible on Mac OS. I just tested the latest HttpClient code on my > > > wife's Mac Mini. All test cases that make use of the test HTTP server > > > seem to be failing. > > > > I'm afraid that's my doing. I branched the LocalTestServer from > > core/TestHttpServer shortly before you added the expectation verifier > > there. I had a quick look just now and added several missing volatile > > declarations. Maybe I should stop writing Java MT code. Life was so > > much easier when I was still coding in assembler. > > > > Roland, > > It turned out the problem had been introduced by this patch > > http://svn.apache.org/viewvc?view=rev&revision=619163 > > Please stop worrying about your ability to write MT code. It was all my > fault. >
I had to effectively revert HTTPCLIENT-643 changes in order to fix this problem. Multihome failover on the socket factory level just does not seem to work. Oleg > Oleg > > > I don't have a Mac to test with, so I can't help here. If it > > wasn't the volatiles, the next candidates are timing issues in > > LocalTestServer.start/stop(). I've used the hardcoded IP address > > 127.0.0.1, but that should work on a Mac too. > > > > cheers, > > Roland > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
