diff --git a/htlcswitch/link_test.go b/htlcswitch/link_test.go index 693ef680..1e1aa51d 100644 --- a/htlcswitch/link_test.go +++ b/htlcswitch/link_test.go @@ -1994,8 +1994,13 @@ func TestChannelRetransmission(t *testing.T) { } for _, test := range retransmissionTests { - t.Run(test.name, func(t *testing.T) { + passed := t.Run(test.name, func(t *testing.T) { paymentWithRestart(t, test.messages) }) + + if !passed { + break + } } + }