summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host
diff options
context:
space:
mode:
authorSam Balana <sbalana@google.com>2021-02-26 17:07:27 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-26 17:09:55 -0800
commitaf6e6d5e7fc8266016eefa309d3857c92102db9a (patch)
tree14aad08934236c59bda99448cfef4371f5f23d98 /pkg/sentry/fs/host
parent85d5958669b4be237aa3571f094585ba27781e84 (diff)
Assert UpdatedAtNanos in neighbor entry tests
Changes the neighbor_entry_test.go tests to always assert UpdatedAtNanos. This field was historically not checked due to the lack of a deterministic, controllable clock. This is no longer true with the tcpip.Clock interface. While the tests have been adjusted to use Clock, asserting by the UpdatedAtNanos was neglected. Subsequent work is needed to assert UpdatedAtNanos in the neighbor cache tests. Updates #4663 PiperOrigin-RevId: 359868254
Diffstat (limited to 'pkg/sentry/fs/host')
0 files changed, 0 insertions, 0 deletions