Browse Source

wording

pull/8068/head
jay tseng 3 years ago
parent
commit
2f35598893
No known key found for this signature in database GPG Key ID: 5A9D3063305E6427
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      node/node_test.go

+ 2
- 2
node/node_test.go View File

@ -756,6 +756,7 @@ func loadStatefromGenesis(ctx context.Context, t *testing.T) sm.State {
}
func TestNodeAppVersionNotMatched(t *testing.T) {
// Construct the node params
cfg, err := config.ResetTestRoot(t.TempDir(), "node_node_test")
require.NoError(t, err)
@ -764,7 +765,6 @@ func TestNodeAppVersionNotMatched(t *testing.T) {
ctx, bcancel := context.WithCancel(context.Background())
defer bcancel()
// Construct the node params
nodeKey, err := types.LoadOrGenNodeKey(cfg.NodeKeyFile())
require.NoError(t, err)
@ -783,7 +783,7 @@ func TestNodeAppVersionNotMatched(t *testing.T) {
return genesisDoc, nil
}
// Create node
// Create node, expecting an error
_, err = makeNode(
ctx,
cfg,


Loading…
Cancel
Save