diff options
| author | Percy Wegmann <percy@tailscale.com> | 2025-12-10 12:46:34 -0600 |
|---|---|---|
| committer | Percy Wegmann <percy@tailscale.com> | 2025-12-10 12:46:34 -0600 |
| commit | b6ac2220be84ae9aefd7e8ec7634a3ec6d2a36f2 (patch) | |
| tree | 19f2f4d087544d4ca21a415baec2d10ffcd5a47c /feature | |
| parent | d349370e5500e6f583a15e38ad945199e5e11ea1 (diff) | |
| download | tailscale-percy/corp35008.tar.xz tailscale-percy/corp35008.zip | |
Try to get rid of tstest.Clockpercy/corp35008
Signed-off-by: Percy Wegmann <percy@tailscale.com>
Diffstat (limited to 'feature')
| -rw-r--r-- | feature/taildrop/peerapi_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/feature/taildrop/peerapi_test.go b/feature/taildrop/peerapi_test.go index 254d8794e..72589eeb0 100644 --- a/feature/taildrop/peerapi_test.go +++ b/feature/taildrop/peerapi_test.go @@ -501,7 +501,7 @@ func TestHandlePeerAPI(t *testing.T) { ext := &fakeExtension{ logf: e.logBuf.Logf, capFileSharing: tt.capSharing, - clock: &tstest.Clock{}, + clock: tstime.StdClock{}, taildrop: e.taildrop, } e.ph = &peerAPIHandler{ @@ -557,7 +557,7 @@ func TestFileDeleteRace(t *testing.T) { fakeLB := &fakeExtension{ logf: t.Logf, capFileSharing: true, - clock: &tstest.Clock{}, + clock: tstime.StdClock{}, taildrop: taildropMgr, } buf := make([]byte, 2<<20) |
