diff --git a/tests/fixture/tmpnet/README.md b/tests/fixture/tmpnet/README.md index 9bcc60164010..90ec7f678b2f 100644 --- a/tests/fixture/tmpnet/README.md +++ b/tests/fixture/tmpnet/README.md @@ -78,7 +78,7 @@ network, _ := tmpnet.StartNetwork( ginkgo.GinkgoWriter, // Writer to report progress of network start "", // Use default root dir (~/.tmpnet) &tmpnet.Network{ - DefaultRuntime: tmpnet.NodeRuntimeConfig{ + NodeRuntimeConfig: tmpnet.NodeRuntimeConfig{ ExecPath: "/path/to/avalanchego", // Defining the avalanchego exec path is required }, }, @@ -104,7 +104,7 @@ network, _ := tmpnet.StartNetwork( ginkgo.GinkgoWriter, "", &tmpnet.Network{ - DefaultRuntime: tmpnet.NodeRuntimeConfig{ + NodeRuntimeConfig: tmpnet.NodeRuntimeConfig{ ExecPath: "/path/to/avalanchego", }, Nodes: []*Node{ diff --git a/tests/fixture/tmpnet/node_process.go b/tests/fixture/tmpnet/node_process.go index 98295a0b8989..bec294b20713 100644 --- a/tests/fixture/tmpnet/node_process.go +++ b/tests/fixture/tmpnet/node_process.go @@ -97,7 +97,7 @@ func (p *NodeProcess) Start(w io.Writer) error { // Avoid attempting to start an already running node. proc, err := p.getProcess() if err != nil { - return fmt.Errorf("failed to start node process: %w", err) + return fmt.Errorf("failed to retrieve existing process: %w", err) } if proc != nil { return errNodeAlreadyRunning