Page MenuHomeFreeBSD

Fix the PR 181741 regression test.
ClosedPublic

Authored by markj on Jul 30 2018, 5:29 PM.

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 OK
Unit
No Unit 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.