summaryrefslogtreecommitdiffhomepage
path: root/pkg/metric
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2020-11-24 13:39:39 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-24 13:42:07 -0800
commitd492b21319676bc9a9f97b9633b3be387c0b60a5 (patch)
tree77d26b346ed6071add162c11ee852137845227ed /pkg/metric
parent732e98985546958fdab8ae3d49e36f17ae89f71c (diff)
Fix a potential indefinite blocking in packetimpact testbench
1. setsockopt(SO_RCVTIMEO, 0) == never timeout 2. float64(time.Microsecond/time.Second) == 0 3. packetimpact tests use a lot of 1s timeouts This becomes a more significant problem because of a recent change that binds the sniffer only on the specific testNet interface so now the traffic on the ctrlNet cannot wake up the blocking call anymore. PiperOrigin-RevId: 344123465
Diffstat (limited to 'pkg/metric')
0 files changed, 0 insertions, 0 deletions