mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 00:32:38 +02:00
test: add synchronization to testDisconnectingTargetPeer
This commit is contained in:
@@ -397,6 +397,8 @@ func testDisconnectingTargetPeer(net *networkHarness, t *harnessTest) {
|
|||||||
" while one pending channel is existing: err %v", err)
|
" while one pending channel is existing: err %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time.Sleep(time.Millisecond * 300)
|
||||||
|
|
||||||
// Check existing connection.
|
// Check existing connection.
|
||||||
assertNumConnections(ctxb, t, net.Alice, net.Bob, 1)
|
assertNumConnections(ctxb, t, net.Alice, net.Bob, 1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user