Skip to content

Commit

Permalink
Revert change to collect process dump after every test (#5794)
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman authored Oct 16, 2024
1 parent fc05e0d commit 395c65c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/testing/fixture_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ func (f *Fixture) installNoPkgManager(ctx context.Context, installOpts *InstallO
f.setClient(c)

f.t.Cleanup(func() {
f.DumpProcesses("-post-uninstall")
if f.t.Failed() {
f.DumpProcesses("-cleanup")
}
})

f.t.Cleanup(func() {
Expand Down

0 comments on commit 395c65c

Please sign in to comment.