Chore: Revert dskit service additions (#72608)

This commit is contained in:
Todd Treece
2023-08-03 09:19:01 -04:00
committed by GitHub
parent f6e836302b
commit f3ffc850aa
27 changed files with 309 additions and 690 deletions
+1 -3
View File
@@ -60,7 +60,7 @@ func StartGrafanaEnv(t *testing.T, grafDir, cfgPath string) (string, *server.Tes
go func() {
// When the server runs, it will also build and initialize the service graph
if err := env.Server.Run(ctx); err != nil {
if err := env.Server.Run(); err != nil {
t.Log("Server exited uncleanly", "error", err)
}
}()
@@ -71,8 +71,6 @@ func StartGrafanaEnv(t *testing.T, grafDir, cfgPath string) (string, *server.Tes
})
// Wait for Grafana to be ready
err = env.Server.AwaitHealthy(ctx)
require.NoError(t, err)
addr := listener.Addr().String()
resp, err := http.Get(fmt.Sprintf("http://%s/api/health", addr))
require.NoError(t, err)