itest: add test_common to hold commonly used methods

A new file, test_common.go, is added to hold commonly used functions
across lntest.
This commit is contained in:
yyforyongyu committed 2021-12-04 14:54:36 +08:00
1 parent ad78ff114f
commit 98d7e64dc1
3 files changed
+122 -108

No files matched your search

-8
View File
@@ -84,14 +84,6 @@ type NetworkHarness struct {
mtx sync.Mutex
}
type DatabaseBackend int
const (
BackendBbolt DatabaseBackend = iota
BackendEtcd
BackendPostgres
)
// NewNetworkHarness creates a new network test harness.
// TODO(roasbeef): add option to use golang's build library to a binary of the
// current repo. This will save developers from having to manually `go install`