From c209e1b6ee28cc2d7d3d13cc2d6429b37fe419b2 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Thu, 11 Jan 2024 21:56:42 +0000 Subject: [PATCH] remove redundant calls to PostMortemLogs() --- test/integration/aaa_download_only_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/integration/aaa_download_only_test.go b/test/integration/aaa_download_only_test.go index 307c3a2368..e401eddc6a 100644 --- a/test/integration/aaa_download_only_test.go +++ b/test/integration/aaa_download_only_test.go @@ -191,8 +191,6 @@ func TestDownloadOnly(t *testing.T) { // nolint:gocyclo // This is a weird place to test profile deletion, but this test is serial, and we have a profile to delete! t.Run("DeleteAll", func(t *testing.T) { - defer PostMortemLogs(t, profile) - if !CanCleanup() { t.Skip("skipping, as cleanup is disabled") } @@ -204,8 +202,6 @@ func TestDownloadOnly(t *testing.T) { // nolint:gocyclo // Delete should always succeed, even if previously partially or fully deleted. t.Run("DeleteAlwaysSucceeds", func(t *testing.T) { - defer PostMortemLogs(t, profile) - if !CanCleanup() { t.Skip("skipping, as cleanup is disabled") }