diff options
author | Sam Balana <sbalana@google.com> | 2021-03-03 12:21:37 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-03 12:26:30 -0800 |
commit | 011ba4d4fe61c08e9cc22c32eaed1072b7a8d3e4 (patch) | |
tree | 0e9658ce8c5d7ff31414ededd97f054999458c33 /test/cmd | |
parent | 3e69f5d088d121f1d3c4bf44ca637a48f13c4819 (diff) |
Assert UpdatedAtNanos in neighbor cache tests
Changes the neighbor_cache_test.go tests to always assert UpdatedAtNanos.
Completes the assertion of UpdatedAtNanos in every NUD test, a field that 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.
Fixes #4663
PiperOrigin-RevId: 360730077
Diffstat (limited to 'test/cmd')
0 files changed, 0 insertions, 0 deletions