Skip to content

Commit 65f1944

Browse files
committed
fixup! Merge branch 'main' into dean/integration-test-ns
1 parent 92c6b65 commit 65f1944

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tailnet/test/integration/integration.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ type TestTopology struct {
4545
// SetupNetworking creates interfaces and network namespaces for the test.
4646
// The most simple implementation is NetworkSetupDefault, which only creates
4747
// a network namespace shared for all tests.
48-
SetupNetworking func(t *testing.T, log slog.Logger) TestNetworking
48+
SetupNetworking func(t *testing.T, logger slog.Logger) TestNetworking
4949

5050
// StartServer gets called in the server subprocess. It's expected to start
5151
// the coordinator server in the background and return.
52-
StartServer func(t *testing.T, log slog.Logger, listenAddr string)
52+
StartServer func(t *testing.T, logger slog.Logger, listenAddr string)
5353
// StartClient gets called in each client subprocess. It's expected to
5454
// create the tailnet.Conn and ensure connectivity to it's peer.
55-
StartClient func(t *testing.T, log slog.Logger, serverURL *url.URL, myID uuid.UUID, peerID uuid.UUID) *tailnet.Conn
55+
StartClient func(t *testing.T, logger slog.Logger, serverURL *url.URL, myID uuid.UUID, peerID uuid.UUID) *tailnet.Conn
5656

5757
// RunTests is the main test function. It's called in each of the client
5858
// subprocesses. If tests can only run once, they should check the client ID
5959
// and return early if it's not the expected one.
60-
RunTests func(t *testing.T, log slog.Logger, serverURL *url.URL, myID uuid.UUID, peerID uuid.UUID, conn *tailnet.Conn)
60+
RunTests func(t *testing.T, logger slog.Logger, serverURL *url.URL, myID uuid.UUID, peerID uuid.UUID, conn *tailnet.Conn)
6161
}
6262

6363
type TestNetworking struct {
@@ -82,7 +82,7 @@ type TestNetworkingProcess struct {
8282
NetNSFd int
8383
}
8484

85-
func SetupNetworkingLoopback(t *testing.T, log slog.Logger) TestNetworking {
85+
func SetupNetworkingLoopback(t *testing.T, _ slog.Logger) TestNetworking {
8686
netNSName := "codertest_netns_"
8787
randStr, err := cryptorand.String(4)
8888
require.NoError(t, err, "generate random string for netns name")

0 commit comments

Comments
 (0)