mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 21:27:31 +00:00
tstest, tstime: mockable timers and tickers
This change introduces tstime.Clock which is the start of a mockable interface for use with testing other upcoming code changes. Fixes #8463 Change-Id: I59eabc797828809194575736615535d918242ec4 Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
This commit is contained in:

committed by
Adrian Dewhurst

parent
28ee355c56
commit
92fb80d55f
2439
tstest/clock_test.go
Normal file
2439
tstest/clock_test.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user