Date: Thu, 08 Jun 2017 22:37:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 219875] lib/libc/tests/sys/stat_test:stat_socket fails sporadically with ECONNREFUSED instead of EINPROGRESS Message-ID: <bug-219875-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219875 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@freebsd.org Reporter: ngie@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 fai= ls 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219875-32464>