The SocketException isn't the failure; that's a ~spurious exception that
occurs upon a sudden client disconnect that has been sitting around for
a while. I fixed that at some point, but it crops up again as new tests
are added that produce responses that the client side isn't necessarily
testing for:
http://dev.clojure.org/jira/browse/NREPL-10
The real failure is definitely a timing issue that has been a thorn in
our sides for a _long_ time, and something that no one has been able to
nail down conclusively:
[INFO] FAIL in (test-url-connect) (nrepl_test.clj:387)
[INFO] expected: (= [2] (response-values (response-seq conn 100)))
[INFO] actual: (not (= [2] nil))
AFAIK, three people have looked into it significantly (myself, Colin,
and another fellow whose name escapes me at the moment) with no
definitive result. There have never been any reports of this in the
wild (though timeouts in the wild are also much wider, and sometimes
MAX_VALUE).
It's definitely irritating, but not something I'm super-motivated to
sink more time into at the moment. Maybe it's just time to bump the
timeout past 100ms, though I hate to do something like that just to
accommodate e.g. build box traffic...
- Chas
> --
> You received this message because you are subscribed to the Google
> Groups "clojure-tools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
clojure-tool...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.