Skip to content

Commit 0839d4b

Browse files
committed
itest: remove obsolete itest
1 parent a29f243 commit 0839d4b

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

itest/list_on_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,6 @@ var allTestCases = []*lntest.TestCase{
626626
Name: "open channel locked balance",
627627
TestFunc: testOpenChannelLockedBalance,
628628
},
629-
{
630-
Name: "nativesql no migration",
631-
TestFunc: testNativeSQLNoMigration,
632-
},
633629
{
634630
Name: "sweep cpfp anchor outgoing timeout",
635631
TestFunc: testSweepCPFPAnchorOutgoingTimeout,

itest/lnd_misc_test.go

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package itest
22

33
import (
4-
"context"
54
"encoding/hex"
65
"fmt"
76
"os"
@@ -1245,44 +1244,6 @@ func testSignVerifyMessageWithAddr(ht *lntest.HarnessTest) {
12451244
require.False(ht, respValid.Valid, "external signature did validate")
12461245
}
12471246

1248-
// testNativeSQLNoMigration tests that nodes that have invoices would not start
1249-
// up with native SQL enabled, as we don't currently support migration of KV
1250-
// invoices to the new SQL schema.
1251-
func testNativeSQLNoMigration(ht *lntest.HarnessTest) {
1252-
alice := ht.NewNode("Alice", nil)
1253-
1254-
// Make sure we run the test with SQLite or Postgres.
1255-
if alice.Cfg.DBBackend != node.BackendSqlite &&
1256-
alice.Cfg.DBBackend != node.BackendPostgres {
1257-
1258-
ht.Skip("node not running with SQLite or Postgres")
1259-
}
1260-
1261-
// Skip the test if the node is already running with native SQL.
1262-
if alice.Cfg.NativeSQL {
1263-
ht.Skip("node already running with native SQL")
1264-
}
1265-
1266-
alice.RPC.AddInvoice(&lnrpc.Invoice{
1267-
Value: 10_000,
1268-
})
1269-
1270-
alice.SetExtraArgs([]string{"--db.use-native-sql"})
1271-
1272-
// Restart the node manually as we're really only interested in the
1273-
// startup error.
1274-
require.NoError(ht, alice.Stop())
1275-
require.NoError(ht, alice.StartLndCmd(context.Background()))
1276-
1277-
// We expect the node to fail to start up with native SQL enabled, as we
1278-
// have an invoice in the KV store.
1279-
require.Error(ht, alice.WaitForProcessExit())
1280-
1281-
// Reset the extra args and restart alice.
1282-
alice.SetExtraArgs(nil)
1283-
require.NoError(ht, alice.Start(ht.Context()))
1284-
}
1285-
12861247
// testSendSelectedCoins tests that we're able to properly send the selected
12871248
// coins from the wallet to a single target address.
12881249
func testSendSelectedCoins(ht *lntest.HarnessTest) {

0 commit comments

Comments
 (0)