google / google/gvisor

Use fakeclock in all tests

Open
#5,940 6 comments 0 reactions 0 assignees View on GitHub
area: networking revived type: cleanup
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

Related #5939

The fake clock provides a mechanism to manually advance time independent of the wall clock time for test purposes. We should use this throughout the netstack's unit tests to reduce flakes and reduce test run time

Examples of some long running (and sometimes flaky) tests are the NDP and TCP tests

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.