summaryrefslogtreecommitdiffhomepage
path: root/ipn/ipnlocal/network-lock_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ipn/ipnlocal/network-lock_test.go')
-rw-r--r--ipn/ipnlocal/network-lock_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipn/ipnlocal/network-lock_test.go b/ipn/ipnlocal/network-lock_test.go
index e5df38bdb..d2b6c9f4f 100644
--- a/ipn/ipnlocal/network-lock_test.go
+++ b/ipn/ipnlocal/network-lock_test.go
@@ -32,8 +32,8 @@ import (
"tailscale.com/tailcfg"
"tailscale.com/tka"
"tailscale.com/tsd"
- "tailscale.com/tstest"
"tailscale.com/tstest/tkatest"
+ "tailscale.com/tstime"
"tailscale.com/types/key"
"tailscale.com/types/netmap"
"tailscale.com/types/persist"
@@ -470,7 +470,7 @@ func TestTKASyncTriggersCompact(t *testing.T) {
//
// Our compaction algorithm preserves AUMs received in the last 14 days, so
// we need to backdate the commit times to make the AUMs eligible for compaction.
- clock := tstest.NewClock(tstest.ClockOpts{})
+ clock := tstime.StdClock{}
clock.Advance(-30 * 24 * time.Hour)
// Set up the TKA authority on the control plane.