- Notifications
You must be signed in to change notification settings - Fork923
Description
https://github.com/coder/coder/actions/runs/9987661978/job/27602490812?pr=13902
provisionerdaemons_test.go:207: Error Trace:/home/runner/work/coder/coder/enterprise/cli/provisionerdaemons_test.go:207 Error: Condition never satisfied Test: TestProvisionerDaemon_SessionToken/PrometheusEnabled
// Fetch metrics from Prometheus endpointvarres*http.Responserequire.Eventually(t,func()bool {req,err:=http.NewRequestWithContext(ctx,"GET",fmt.Sprintf("http://127.0.0.1:%d",prometheusPort),nil)assert.NoError(t,err)// nolint:bodycloseres,err=http.DefaultClient.Do(req)returnerr==nil},testutil.WaitShort,testutil.IntervalFast)