[Bug 219875] lib/libc/tests/sys/stat_test:stat_socket fails sporadically with ECONNREFUSED instead of EINPROGRESS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 8 22:37:56 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219875
Bug ID: 219875
Summary: lib/libc/tests/sys/stat_test:stat_socket fails
sporadically with ECONNREFUSED instead of EINPROGRESS
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: tests
Assignee: freebsd-testing at freebsd.org
Reporter: ngie at FreeBSD.org
contrib/netbsd-tests/lib/libc/sys/t_stat.c:stat_socket tries to simulate the
EINPROGRESS error with connect(2), in a racy way (sometimes the connect fails
with ECONNREFUSED). I suspect it needs to try a few times and bail if it
doesn't receive EINPROGRESS, in the event that the socket setup takes a few
seconds to complete, instead of just trying once and bailing.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list