Thread overview
[Issue 6150] New: runnable/testsocket.d
Jun 12, 2011
Brad Roberts
Jun 12, 2011
Brad Roberts
Jun 29, 2011
Walter Bright
June 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6150

           Summary: runnable/testsocket.d
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: braddr@puremagic.com


--- Comment #0 from Brad Roberts <braddr@puremagic.com> 2011-06-11 23:39:45 PDT ---
If I'm reading the code right, this test depends on connect not failing during the connect and only later failing during the poll.  It's not wrong for connect to fail immediately and not defer that to a poll, even with the socket set to non-blocking.  I've seen it on linux and on freebsd/64 it seems to occur pretty frequently (roughly half the time).

I'm tempted to just nuke the entire test.  It's not a dmd test, it's a phobos test, and all that code is on the list of 'things that should be overhauled' anyway.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6150



--- Comment #1 from Brad Roberts <braddr@puremagic.com> 2011-06-12 11:41:52 PDT ---
After a little research, trying to find where the test came from, I found that my past has come back to haunt me.  The test came from the reporter of bug 268, which I fixed.  The fix back then wasn't wrong and was unrelated to this problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 29, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6150


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-06-28 19:04:33 PDT ---
https://github.com/D-Programming-Language/dmd/commit/82038bb65845aa847ab88f745017dc7ef97c498a

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------