Skip to content

Commit

Permalink
fix: enable skiptimeout for the test
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Nov 19, 2024
1 parent ff5ab28 commit b48d520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contribs/gnodev/pkg/dev/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b48d520

Please sign in to comment.