summaryrefslogtreecommitdiffhomepage
path: root/test/util/test_util.h
diff options
context:
space:
mode:
authorSam Balana <sbalana@google.com>2021-06-04 15:17:04 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-04 15:19:53 -0700
commita2c88252c84839550bef1543ed5cc904340a8a3e (patch)
treec57adb55d4ddc2151668f498c07ab83bedefa782 /test/util/test_util.h
parent240629524905024c7564d009cbc47c7b44064219 (diff)
Allow sniffer receive timeout durations less than one usec
Fixes the erronously signaled fatal error when the sniffer receive timeout duration is less than one usec. This was caused by the converstion from float64 to int64; the integer conversion truncated the floating point to 0, which signaled the fatal error. PiperOrigin-RevId: 377600179
Diffstat (limited to 'test/util/test_util.h')
0 files changed, 0 insertions, 0 deletions