Skip to content

Commit

Permalink
Merge pull request lightningnetwork#9273 from Roasbeef/itests-pid
Browse files Browse the repository at this point in the history
lntest: print node PID when launching in itests
  • Loading branch information
guggero authored Nov 18, 2024
2 parents 95b248a + b9105c3 commit bd36f76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lntest/node/harness_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ func (hn *HarnessNode) StartLndCmd(ctxb context.Context) error {
return err
}

pid := hn.cmd.Process.Pid
hn.T.Logf("Starting node (name=%v) with PID=%v", hn.Cfg.Name, pid)

return nil
}

Expand Down

0 comments on commit bd36f76

Please sign in to comment.