itest: log pid of new nodes

This commit is contained in:
Olaoluwa Osuntokun 2024-11-15 17:39:54 -08:00 committed by Oliver Gugger
parent 7ed8ff1a39
commit 3be9f300ef
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -653,6 +653,9 @@ func (hn *HarnessNode) Start(litdBinary string, litdError chan<- error,
return err
}
fmt.Printf("Starting node=%v, pid=%v\n", hn.Cfg.Name,
hn.cmd.Process.Pid)
// Launch a new goroutine which that bubbles up any potential fatal
// process errors to the goroutine running the tests.
hn.processExit = make(chan struct{})