kvdb: unify how the db backend for tests is set
This commit is contained in:
1 parent
170160f28a
commit
3d91bb65f7
3 files changed
+22
-18
No files matched your search
+2
-2
@@ -7,9 +7,9 @@ import (
|
||||
"github.com/lightningnetwork/lnd/kvdb/etcd"
|
||||
)
|
||||
|
||||
// TestBackend is conditionally set to etcd when the kvdb_etcd build tag is
|
||||
// EtcdBackend is conditionally set to etcd when the kvdb_etcd build tag is
|
||||
// defined, allowing testing our database code with etcd backend.
|
||||
const TestBackend = EtcdBackendName
|
||||
const EtcdBackend = true
|
||||
|
||||
// GetEtcdTestBackend creates an embedded etcd backend for testing
|
||||
// storig the database at the passed path.
|
||||
|
||||
Reference in new issue
Block a user