Merge pull request #1344 from halseth/lndtest-defer-shutdown

integration tests: shut down nodes using defer
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-06-13 15:57:17 -07:00
commit 0d607f675f
2 files changed
+102 -192

No files matched your search

+5
View File
@@ -249,6 +249,11 @@ func (hn *HarnessNode) DBPath() string {
return hn.cfg.DBPath()
}
// Name returns the name of this node set during initialization.
func (hn *HarnessNode) Name() string {
return hn.cfg.Name
}
// Start launches a new process running lnd. Additionally, the PID of the
// launched process is saved in order to possibly kill the process forcibly
// later.