From 1d833113ce2e108950701711f316d7660b87f255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Wed, 24 Jul 2024 17:51:00 +0200 Subject: [PATCH] Fix test --- client/internal/engine_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/internal/engine_test.go b/client/internal/engine_test.go index b8a85b071..bdb0fbe62 100644 --- a/client/internal/engine_test.go +++ b/client/internal/engine_test.go @@ -1101,7 +1101,10 @@ func startManagement(t *testing.T, dataDir string) (*grpc.Server, string, error) if err != nil { return nil, "", err } - turnManager := server.NewTimeBasedAuthSecretsManager(peersUpdateManager, config.TURNConfig, "") + rc := &server.RelayConfig{ + Address: "127.0.0.1:1234", + } + turnManager := server.NewTimeBasedAuthSecretsManager(peersUpdateManager, config.TURNConfig, rc) mgmtServer, err := server.NewServer(context.Background(), config, accountManager, peersUpdateManager, turnManager, nil, nil) if err != nil { return nil, "", err