mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
itest: graph sql migration itest
This commit adds a basic itest that is run under the `test_native_sql` flag. It tests that the migration is idempotent and that the node cant be restarted without the `db.use-native-sql` flag once the graph migration has been run.
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
|
||||
func openKVBackend(ht *lntest.HarnessTest, hn *node.HarnessNode) kvdb.Backend {
|
||||
sqlbase.Init(0)
|
||||
|
||||
var (
|
||||
backend kvdb.Backend
|
||||
err error
|
||||
|
Reference in New Issue
Block a user