From b48d520840f72105561548eca3a1a7d854eafd0e Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:38:13 +0900 Subject: [PATCH] fix: enable skiptimeout for the test Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- contribs/gnodev/pkg/dev/node_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contribs/gnodev/pkg/dev/node_test.go b/contribs/gnodev/pkg/dev/node_test.go index b206f409b09..825dc6bfb30 100644 --- a/contribs/gnodev/pkg/dev/node_test.go +++ b/contribs/gnodev/pkg/dev/node_test.go @@ -410,6 +410,10 @@ func newTestingDevNode(t *testing.T, pkgslist ...PackagePath) (*Node, *mock.Serv // Call NewDevNode with no package should work cfg := DefaultNodeConfig(gnoenv.RootDir()) + + // We have to put this to true to force tx to be in separate block + cfg.TMConfig.Consensus.SkipTimeoutCommit = true + cfg.PackagesPathList = pkgslist cfg.Emitter = emitter cfg.Logger = logger