Merge pull request #9600 from lightningnetwork/yy-more-flakes
lntest+itest: document and fix more flakes
This commit is contained in:
10 files changed
+104
-31
No files matched your search
@@ -222,11 +222,14 @@ func coopCloseWithHTLCsWithRestart(ht *lntest.HarnessTest, alice,
|
||||
ht.AssertChannelInactive(bob, chanPoint)
|
||||
ht.AssertChannelInactive(alice, chanPoint)
|
||||
|
||||
// Now restart Alice and Bob.
|
||||
ht.RestartNode(alice)
|
||||
ht.RestartNode(bob)
|
||||
// Shutdown both Alice and Bob.
|
||||
restartAlice := ht.SuspendNode(alice)
|
||||
restartBob := ht.SuspendNode(bob)
|
||||
|
||||
ht.AssertConnected(alice, bob)
|
||||
// Once shutdown, restart and connect them.
|
||||
require.NoError(ht, restartAlice())
|
||||
require.NoError(ht, restartBob())
|
||||
ht.EnsureConnected(alice, bob)
|
||||
|
||||
// Show that both nodes still see the channel as waiting for close after
|
||||
// the restart.
|
||||
|
||||
Reference in new issue
Block a user