Skip to content

Commit

Permalink
fixup: Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Aug 6, 2024
1 parent 0aeadab commit 30c27f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/fixture/tmpnet/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,12 @@ func (n *Network) StartNode(ctx context.Context, w io.Writer, node *Node) error
return err
}

if err := checkVMBinaries(w, n.Subnets, node.RuntimeConfig.AvalancheGoPath, pluginDir); err != nil {
if err := n.EnsureNodeConfig(node); err != nil {
return err
}

if err := n.EnsureNodeConfig(node); err != nil {
// Check the VM binaries after EnsureNodeConfig to ensure node.RuntimeConfig is non-nil
if err := checkVMBinaries(w, n.Subnets, node.RuntimeConfig.AvalancheGoPath, pluginDir); err != nil {
return err
}

Expand Down

0 comments on commit 30c27f9

Please sign in to comment.