Skip to content

Commit

Permalink
fix: Fix heap profile benchmarking (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Jan 31, 2025
1 parent 2a09110 commit 1e21a7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestSchedulingProfile(t *testing.T) {
if err != nil {
t.Fatalf("error creating heap profile: %s", err)
}
defer lo.Must0(pprof.WriteHeapProfile(heapf))
defer func() { lo.Must0(pprof.WriteHeapProfile(heapf)) }()

totalPods := 0
totalNodes := 0
Expand Down

0 comments on commit 1e21a7d

Please sign in to comment.