lntest/node: expose pprof port by default for itests

This commit is contained in:
Conner Fromknecht 2018-02-02 19:00:15 -08:00
parent cf0ab41ce8
commit 90dec0ad6a
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -239,6 +239,7 @@ func (hn *HarnessNode) start(lndError chan<- error) error {
hn.quit = make(chan struct{}) hn.quit = make(chan struct{})
args := hn.cfg.genArgs() args := hn.cfg.genArgs()
args = append(args, fmt.Sprintf("--profile=%d", 9000+hn.NodeID))
hn.cmd = exec.Command("lnd", args...) hn.cmd = exec.Command("lnd", args...)
// Redirect stderr output to buffer // Redirect stderr output to buffer