diff --git a/itest/lnd_coop_close_with_htlcs_test.go b/itest/lnd_coop_close_with_htlcs_test.go index 8707fada7..27fcc4907 100644 --- a/itest/lnd_coop_close_with_htlcs_test.go +++ b/itest/lnd_coop_close_with_htlcs_test.go @@ -196,11 +196,14 @@ func coopCloseWithHTLCsWithRestart(ht *lntest.HarnessTest) { 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. diff --git a/lntest/harness_assertion.go b/lntest/harness_assertion.go index fb5b03990..0523562b6 100644 --- a/lntest/harness_assertion.go +++ b/lntest/harness_assertion.go @@ -401,7 +401,7 @@ func (h *HarnessTest) assertChannelStatus(hn *node.HarnessNode, }, DefaultTimeout) require.NoErrorf(h, err, "%s: timeout checking for channel point: %v", - hn.Name(), cp) + hn.Name(), h.OutPointFromChannelPoint(cp)) return channel }