From 8f138b47b07a0a94c905901851945a98d77d0232 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 8 Mar 2022 11:48:33 -0800 Subject: [PATCH] Fixup Data-dir --- testing/encryptedstorage/encrypted_storage_integration_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/encryptedstorage/encrypted_storage_integration_test.go b/testing/encryptedstorage/encrypted_storage_integration_test.go index fc45f40..b9ce2ec 100644 --- a/testing/encryptedstorage/encrypted_storage_integration_test.go +++ b/testing/encryptedstorage/encrypted_storage_integration_test.go @@ -43,7 +43,7 @@ func TestEncryptedStorage(t *testing.T) { } torDataDir := "" - if torDataDir, err = ioutil.TempDir(path.Join("..", "testing"), "data-dir-"); err != nil { + if torDataDir, err = ioutil.TempDir(dataDir, "data-dir-"); err != nil { t.Fatalf("could not create data dir") } @@ -126,6 +126,7 @@ func TestEncryptedStorage(t *testing.T) { t.Fatalf("expeced GetMostRecentMessages to return 1, instead returned: %v %v", len(messages), messages) } + app.Shutdown() }