diff --git a/lib/service/service_test.go b/lib/service/service_test.go index 03cc14e362b94..b94d776627999 100644 --- a/lib/service/service_test.go +++ b/lib/service/service_test.go @@ -1785,12 +1785,16 @@ func TestInitDatabaseService(t *testing.T) { cfg := servicecfg.MakeDefaultConfig() cfg.DataDir = t.TempDir() + cfg.DebugService = servicecfg.DebugConfig{ + Enabled: false, + } cfg.Auth.StorageConfig.Params["path"] = t.TempDir() cfg.Hostname = "default.example.com" cfg.Auth.Enabled = true cfg.SetAuthServerAddress(utils.NetAddr{AddrNetwork: "tcp", Addr: "127.0.0.1:0"}) cfg.Auth.ListenAddr = utils.NetAddr{AddrNetwork: "tcp", Addr: "127.0.0.1:0"} cfg.Auth.StorageConfig.Params["path"] = t.TempDir() + cfg.Auth.SessionRecordingConfig.SetMode(types.RecordOff) cfg.Proxy.Enabled = true cfg.Proxy.DisableWebInterface = true cfg.Proxy.WebAddr = utils.NetAddr{AddrNetwork: "tcp", Addr: "localhost:0"}