From d08cedfa9aeb77eb487d9d58cfd027e46c9d7927 Mon Sep 17 00:00:00 2001 From: Elijah Seed-Arita Date: Mon, 6 Nov 2023 17:19:28 -1000 Subject: [PATCH] fix: use test temp dir instead of system --- integration/singularity/cleanup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/singularity/cleanup_test.go b/integration/singularity/cleanup_test.go index 33b369b..bb2117b 100644 --- a/integration/singularity/cleanup_test.go +++ b/integration/singularity/cleanup_test.go @@ -15,7 +15,7 @@ import ( ) func TestCleanupScheduler(t *testing.T) { - localDir := filepath.Join(os.TempDir(), "motion-cleanup-test") + localDir := filepath.Join(t.TempDir(), "motion-cleanup-test") require.NoError(t, os.MkdirAll(localDir, 0777)) local := blob.NewLocalStore(localDir)