[SERVER-8719] sock_test makes invalid assumption that network writes are coalesced Created: 25/Feb/13  Updated: 11/Jul/16  Resolved: 26/Feb/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.4.0-rc0, 2.4.0-rc1
Fix Version/s: 2.4.0-rc2

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All, but only appears to adversely affect 32-bit Windows


Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

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

Participants:

 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.



 Comments   
Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-25T16:01:43Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8719 Do not assume socket writes are coalesced in test
Branch: master
https://github.com/mongodb/mongo/commit/d3aef09798f59763f268a3e9ad35d0ddca1b7018

Generated at Thu Feb 08 03:18:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.