From c1690a084bdb9f32e12668fee7fbdca03553279e Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Thu, 9 Apr 2026 15:28:25 +0300 Subject: [PATCH] Fix app tests that mutate global defaults --- audit/internal/app/app_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/audit/internal/app/app_test.go b/audit/internal/app/app_test.go index 5440016..49b4889 100644 --- a/audit/internal/app/app_test.go +++ b/audit/internal/app/app_test.go @@ -542,8 +542,6 @@ func TestActionResultsUseFallbackBody(t *testing.T) { } func TestExportSupportBundleResultMentionsUnmountedUSB(t *testing.T) { - t.Parallel() - tmp := t.TempDir() oldExportDir := DefaultExportDir DefaultExportDir = tmp @@ -580,8 +578,6 @@ func TestExportSupportBundleResultMentionsUnmountedUSB(t *testing.T) { } func TestExportSupportBundleResultDoesNotPretendSuccessOnError(t *testing.T) { - t.Parallel() - tmp := t.TempDir() oldExportDir := DefaultExportDir DefaultExportDir = tmp @@ -643,8 +639,6 @@ func TestRunNvidiaAcceptancePackResult(t *testing.T) { } func TestRunSATDefaultsToExportDir(t *testing.T) { - t.Parallel() - oldSATBaseDir := DefaultSATBaseDir DefaultSATBaseDir = "/tmp/export/bee-sat" t.Cleanup(func() { DefaultSATBaseDir = oldSATBaseDir })