mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
itest: fix flake in testSwitchOfflineDelivery
The reconnection will happen automatically when the nodes have a channel, so we just ensure the connection instead of reconnecting directly.
This commit is contained in:
parent
66b35018b8
commit
8b8f0c4eb4
@ -103,7 +103,7 @@ func testSwitchOfflineDelivery(ht *lntest.HarnessTest) {
|
||||
ht.DisconnectNodes(s.dave, s.alice)
|
||||
|
||||
// Then, reconnect them to ensure Dave doesn't just fail back the htlc.
|
||||
ht.ConnectNodes(s.dave, s.alice)
|
||||
ht.EnsureConnected(s.dave, s.alice)
|
||||
|
||||
// Wait to ensure that the payment remain are not failed back after
|
||||
// reconnecting. All node should report the number payments initiated
|
||||
|
Loading…
Reference in New Issue
Block a user