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:
3 files changed
+122
-108
No files matched your search
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user