From 57f98ee38f7b5d63387c785d6d7dd3aef29e3e3f Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Fri, 11 Mar 2022 13:14:10 -0800 Subject: [PATCH] Remove unnecesary cleanup step. --- internal/consensus/common_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/consensus/common_test.go b/internal/consensus/common_test.go index 90f91f20e..c9c207b55 100644 --- a/internal/consensus/common_test.go +++ b/internal/consensus/common_test.go @@ -71,7 +71,6 @@ func configSetup(t *testing.T) *config.Config { walDir := filepath.Dir(cfg.Consensus.WalFile()) ensureDir(t, walDir, 0700) - t.Cleanup(func() { os.RemoveAll(walDir) }) return cfg }