htlcswitch: modify TestChannelRetransmission to exit on first test failure
This commit is contained in:
parent
849abde253
commit
9d6e9c73f1
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user