Page MenuHomeFreeBSD

Fix the PR 181741 regression test.
ClosedPublic

Authored by markj on Jul 30 2018, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 7:04 PM
Unknown Object (File)
Thu, May 2, 7:03 PM
Unknown Object (File)
Thu, May 2, 3:46 PM
Unknown Object (File)
Thu, May 2, 3:11 PM
Unknown Object (File)
Sun, Apr 28, 11:25 PM
Unknown Object (File)
Thu, Apr 25, 5:50 AM
Unknown Object (File)
Sat, Apr 20, 2:41 AM
Unknown Object (File)
Mar 29 2024, 1:14 AM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Commits
rS337329: Fix the regression test for PR 181741.
Summary

When the corresponding data loss bug is fixed and the snd and rcv buffer
sizes are the same (the default configuration), the test would hang
because it is sending a message larger than the snd buffer size, which
activates SB_STOP. Fix the problem by using a non-blocking socket and
by allowing short writes to the socket in this particular test.

Test Plan

Verified that the test still fails without D16515, and passes with it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 4 2018, 8:30 PM
This revision was automatically updated to reflect the committed changes.