⚙️ Attach pprof to API for debugging

This commit is contained in:
Ettore Di Giacinto
2022-02-20 16:08:24 +01:00
parent 719d7d125e
commit f51c7993ea
5 changed files with 19 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ var _ = Describe("API", func() {
e.Start(ctx)
go func() {
err := API(ctx, fmt.Sprintf("unix://%s", socket), 10*time.Second, 20*time.Second, e)
err := API(ctx, fmt.Sprintf("unix://%s", socket), 10*time.Second, 20*time.Second, e, false)
Expect(err).ToNot(HaveOccurred())
}()