From aa82fe24984b7d4477d53dce6cd40a4e950a9362 Mon Sep 17 00:00:00 2001 From: Channing Dong <165202380+channingdong@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:47:36 -0800 Subject: [PATCH] Fix bug --- pkg/serdes/serdes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/serdes/serdes_test.go b/pkg/serdes/serdes_test.go index 12c59aff35..6d037936a7 100644 --- a/pkg/serdes/serdes_test.go +++ b/pkg/serdes/serdes_test.go @@ -29,7 +29,7 @@ func TestMain(m *testing.M) { // Cleanup directory (with retry) here will always run after all test(s) have been executed. for i := 0; i < 3; i++ { err := os.RemoveAll(tempDir) - if err != nil { + if err == nil { fmt.Printf("successfully removed temporary schema directory: %s", err) code = 0 break