summaryrefslogtreecommitdiffhomepage
path: root/scripts/common.sh
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-05-19 11:40:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-19 11:41:52 -0700
commitd06de1bede9c40078fe674a6df4849fe3322a861 (patch)
tree77451e7b84202adbc17e113f365b6719d91a2fea /scripts/common.sh
parent5823629442de3762b752afa7cdc204311db21cc8 (diff)
Fix flaky udp tests by polling before reading.
On native Linux, calling recv/read right after send/write sometimes returns EWOULDBLOCK, if the data has not made it to the receiving socket (even though the endpoints are on the same host). Poll before reading to avoid this. Making this change also uncovered a hostinet bug (gvisor.dev/issue/2726), which is noted in this CL. PiperOrigin-RevId: 312320587
Diffstat (limited to 'scripts/common.sh')
0 files changed, 0 insertions, 0 deletions