diff --git a/agent/http_test.go b/agent/http_test.go index a58d0b1b6..c630f7bc2 100644 --- a/agent/http_test.go +++ b/agent/http_test.go @@ -748,7 +748,7 @@ func TestPProfHandlers_EnableDebug(t *testing.T) { defer a.Shutdown() resp := httptest.NewRecorder() - req, _ := http.NewRequest("GET", "/debug/pprof/profile", nil) + req, _ := http.NewRequest("GET", "/debug/pprof/profile?seconds=1", nil) a.srv.Handler.ServeHTTP(resp, req)