lntest+itest: remove AssertNumActiveEdges

This is no longer needed since we don't have standby nodes, plus it's
causing panic in windows build due to `edge.Policy` being nil.
This commit is contained in:
yyforyongyu committed 2024-12-20 19:38:08 +08:00
1 parent 8f3100c984
commit 7ceb9a4af5
6 files changed
+15 -69

No files matched your search

+3 -3
View File
@@ -940,7 +940,7 @@ func testMPPToSingleBlindedPath(ht *lntest.HarnessTest) {
}
// Each node should have exactly numPublic edges.
ht.AssertNumActiveEdges(hn, numPublic, false)
ht.AssertNumEdges(hn, numPublic, false)
}
// Make Dave create an invoice with a blinded path for Alice to pay.
@@ -1111,7 +1111,7 @@ func testBlindedRouteDummyHops(ht *lntest.HarnessTest) {
}
// Each node should have exactly 5 edges.
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
ht.AssertNumEdges(hn, len(channelPoints), false)
}
// Make Dave create an invoice with a blinded path for Alice to pay.
@@ -1281,7 +1281,7 @@ func testMPPToMultipleBlindedPaths(ht *lntest.HarnessTest) {
}
// Each node should have exactly 5 edges.
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
ht.AssertNumEdges(hn, len(channelPoints), false)
}
// Ok now make a payment that must be split to succeed.