diff --git a/client/internal/engine_test.go b/client/internal/engine_test.go index 2df0a50e06..ddfae0a2f1 100644 --- a/client/internal/engine_test.go +++ b/client/internal/engine_test.go @@ -251,6 +251,8 @@ func TestEngine_UpdateNetworkMap(t *testing.T) { } engine.wgInterface = wgIface engine.routeManager = routemanager.NewManager(ctx, key.PublicKey().String(), time.Minute, engine.wgInterface, engine.statusRecorder, relayMgr, nil, nil) + _, _, err = engine.routeManager.Init() + require.NoError(t, err) engine.dnsServer = &dns.MockServer{ UpdateDNSServerFunc: func(serial uint64, update nbdns.Config) error { return nil }, }