Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8719

sock_test makes invalid assumption that network writes are coalesced

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-rc0, 2.4.0-rc1
    • Fix Version/s: 2.4.0-rc2
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Environment:
      All, but only appears to adversely affect 32-bit Windows
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Run sock_test repeatedly on a Win32 system. It will occasionally fail.

      Show
      Run sock_test repeatedly on a Win32 system. It will occasionally fail.

      Description

      The test incorrectly assumes that after two single byte writes that it will be able to read back both bytes in one socket call. This seems to work pretty much everywhere but 32-bit Windows.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: