From ab9936702a9b8d86cac6f8b285152f96c45daa72 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 28 Feb 2024 01:27:58 -0500 Subject: [PATCH] confirm that AfterEach is properly cleaning up tmpdir --- core/http/api_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/http/api_test.go b/core/http/api_test.go index c77d261f4a64..889b219a9935 100644 --- a/core/http/api_test.go +++ b/core/http/api_test.go @@ -204,7 +204,8 @@ var _ = Describe("API test", func() { AfterEach(func() { cancel() app.Shutdown() - os.RemoveAll(tmpdir) + err := os.RemoveAll(tmpdir) + Expect(err).ToNot(HaveOccurred()) }) Context("Applying models", func() {