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)
Oct 17 2024, 9:11 PM
Unknown Object (File)
Oct 6 2024, 4:47 AM
Unknown Object (File)
Sep 6 2024, 3:02 AM
Unknown Object (File)
Sep 5 2024, 10:42 PM
Unknown Object (File)
Sep 4 2024, 8:51 PM
Unknown Object (File)
Sep 4 2024, 11:50 AM
Unknown Object (File)
Sep 2 2024, 7:51 AM
Unknown Object (File)
Sep 2 2024, 7:50 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18441
Build 18148: arc lint + arc unit

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.