Skip to content

Commit

Permalink
wait at the end of test to ensure proper cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Sep 19, 2024
1 parent e9ff46c commit 5465877
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions tools/chainbuilder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ The following are the set of options when generating a chain:
- `namespace` allows you to pick a custom v0 namespace. By default "test" will be chosen.

This tool takes roughly 60-70ms per 2MB block.


1 change: 1 addition & 0 deletions tools/chainbuilder/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,5 @@ func TestRun(t *testing.T) {
return status.SyncInfo.LatestBlockHeight >= int64(numBlocks*2)
}, time.Second*10, time.Millisecond*100)
require.NoError(t, cometNode.Stop())
cometNode.Wait()
}

0 comments on commit 5465877

Please sign in to comment.