Ken Robertson
unread,Mar 1, 2011, 8:54:44 PM3/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FakeWeb
We seem to be seeing an issue where we're leaking connections when we
have fakeweb enabled in our test suite. It doesn't happen on our
developer machines (OS X), but does happen on our build server.
Our test suite connects to a lot of external services, and only a
small number make use of FakeWeb to stub requests. What we find
happen is that when FakeWeb is enabled, we get a growing number of
open connections in the CLOSE_WAIT state and it doesn't close them.
Eventually, it just starts getting a ton of random failures. Simple
things like opening an ERB file, connecting externally, all kinds.
We remove FakeWeb and all of a sudden everything works just fine.
Hudson 1.391
JRuby 1.5.2
FakeWeb 1.3.0
Ubuntu Server 9.10
Anyone seen any issues before with FakeWeb leaking connections or not
completely closing them?
Thanks,
Ken Robertson