diff --git a/cmd/tailscaled/tailscaled.go b/cmd/tailscaled/tailscaled.go index 1e16853dd..af40f647a 100644 --- a/cmd/tailscaled/tailscaled.go +++ b/cmd/tailscaled/tailscaled.go @@ -678,7 +678,6 @@ var tstunNew = tstun.New func tryEngine(logf logger.Logf, sys *tsd.System, name string) (onlyNetstack bool, err error) { conf := wgengine.Config{ - EventBus: sys.Bus.Get(), ListenPort: args.port, NetMon: sys.NetMon.Get(), HealthTracker: sys.HealthTracker(), diff --git a/control/controlhttp/http_test.go b/control/controlhttp/http_test.go index aef916ef6..2df08846d 100644 --- a/control/controlhttp/http_test.go +++ b/control/controlhttp/http_test.go @@ -32,7 +32,6 @@ import ( "tailscale.com/net/tsdial" "tailscale.com/tailcfg" "tailscale.com/tstest" - "tailscale.com/tstest/deptest" "tailscale.com/tstime" "tailscale.com/types/key" "tailscale.com/types/logger" @@ -822,14 +821,3 @@ func (c *closeTrackConn) Close() error { c.d.noteClose(c) return c.Conn.Close() } - -func TestDeps(t *testing.T) { - deptest.DepChecker{ - GOOS: "darwin", - GOARCH: "arm64", - BadDeps: map[string]string{ - // Only the controlhttpserver needs WebSockets... - "github.com/coder/websocket": "controlhttp client shouldn't need websockets", - }, - }.Check(t) -} diff --git a/derp/derphttp/derphttp_test.go b/derp/derphttp/derphttp_test.go index cf6032a5e..cfb3676cd 100644 --- a/derp/derphttp/derphttp_test.go +++ b/derp/derphttp/derphttp_test.go @@ -17,9 +17,7 @@ import ( "tailscale.com/derp" "tailscale.com/net/netmon" - "tailscale.com/tstest/deptest" "tailscale.com/types/key" - "tailscale.com/util/set" ) func TestSendRecv(t *testing.T) { @@ -487,23 +485,3 @@ func TestProbe(t *testing.T) { } } } - -func TestDeps(t *testing.T) { - deptest.DepChecker{ - GOOS: "darwin", - GOARCH: "arm64", - BadDeps: map[string]string{ - "github.com/coder/websocket": "shouldn't link websockets except on js/wasm", - }, - }.Check(t) - - deptest.DepChecker{ - GOOS: "darwin", - GOARCH: "arm64", - Tags: "ts_debug_websockets", - WantDeps: set.Of( - "github.com/coder/websocket", - ), - }.Check(t) - -}