From c5651583131fb764b4dd7128ba61c5b375163238 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 19 Dec 2024 13:52:14 -0800 Subject: [PATCH] refactor: increase prune interval in testing --- internal/testutil/testutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testutil/testutil.go b/internal/testutil/testutil.go index d67aa749..749939d0 100644 --- a/internal/testutil/testutil.go +++ b/internal/testutil/testutil.go @@ -167,7 +167,7 @@ func NewHostNode(t testing.TB, pk types.PrivateKey, network *consensus.Network, } t.Cleanup(func() { wm.Close() }) - vm, err := storage.NewVolumeManager(cn.Store, storage.WithLogger(log.Named("storage")), storage.WithPruneInterval(time.Second)) + vm, err := storage.NewVolumeManager(cn.Store, storage.WithLogger(log.Named("storage")), storage.WithPruneInterval(30*time.Second)) if err != nil { t.Fatal("failed to create volume manager:", err) }