diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-02-28 12:52:06 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-28 12:53:02 -0800 |
commit | 420a89acd32f8deb0ff62f407c05109a2c378884 (patch) | |
tree | 7e5e0d7d5fef12ca735a3350c971a84b54045940 /test/syscalls/linux/exceptions.cc | |
parent | 121db29a93c651b8b62e8701bb0f16c231b08257 (diff) |
Fix flaky raw socket test.
The specific issue was:
- Test creates a raw ICMP socket
- Test sends an ICMP echo request (aka ping request) to itself via loopback
- Now two events race:
- The raw socket recieves the ICMP echo request
- Netstack receives the request and generates a reply (aka ping reply),
which it sends back over loopback, where it is eventually received by the
raw socket
- The test was written to expect packets in a specific order, but they can
come in any order.
PiperOrigin-RevId: 236179066
Change-Id: I02c07c919d3d28093add3d18dd9196fbbc870813
Diffstat (limited to 'test/syscalls/linux/exceptions.cc')
0 files changed, 0 insertions, 0 deletions