chore(unified-storage): add tracing for unified storage folder implementation (#105601)
This commit is contained in:
@@ -37,11 +37,14 @@ func TestIntegrationWillRunInstrumentationServerWhenTargetHasNoHttpServer(t *tes
|
||||
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
time.Sleep(1 * time.Second)
|
||||
errChan <- ms.Run()
|
||||
}()
|
||||
|
||||
require.Eventually(t, func() bool {
|
||||
client := http.Client{}
|
||||
client := http.Client{
|
||||
Timeout: 1 * time.Second,
|
||||
}
|
||||
res, err := client.Get("http://localhost:3001/metrics")
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user