test: add synchronization to testDisconnectingTargetPeer
This commit is contained in:
parent
dc0ab06d91
commit
21cb3837c4
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user