@@ -13,34 +13,10 @@ var allTestCases = []*lntest.TestCase{
13
13
Name : "basic funding flow" ,
14
14
TestFunc : testBasicChannelFunding ,
15
15
},
16
- {
17
- Name : "multi hop htlc local timeout" ,
18
- TestFunc : testMultiHopHtlcLocalTimeout ,
19
- },
20
16
{
21
17
Name : "multi hop receiver chain claim" ,
22
18
TestFunc : testMultiHopReceiverChainClaim ,
23
19
},
24
- {
25
- Name : "multi hop local force close on-chain htlc timeout" ,
26
- TestFunc : testMultiHopLocalForceCloseOnChainHtlcTimeout ,
27
- },
28
- {
29
- Name : "multi hop remote force close on-chain htlc timeout" ,
30
- TestFunc : testMultiHopRemoteForceCloseOnChainHtlcTimeout ,
31
- },
32
- {
33
- Name : "multi hop htlc local chain claim" ,
34
- TestFunc : testMultiHopHtlcLocalChainClaim ,
35
- },
36
- {
37
- Name : "multi hop htlc remote chain claim" ,
38
- TestFunc : testMultiHopHtlcRemoteChainClaim ,
39
- },
40
- {
41
- Name : "multi hop htlc aggregation" ,
42
- TestFunc : testMultiHopHtlcAggregation ,
43
- },
44
20
{
45
21
Name : "external channel funding" ,
46
22
TestFunc : testExternalFundingChanPoint ,
@@ -145,14 +121,6 @@ var allTestCases = []*lntest.TestCase{
145
121
Name : "send update disable channel" ,
146
122
TestFunc : testSendUpdateDisableChannel ,
147
123
},
148
- {
149
- Name : "private channel update policy" ,
150
- TestFunc : testUpdateChannelPolicyForPrivateChannel ,
151
- },
152
- {
153
- Name : "update channel policy fee rate accuracy" ,
154
- TestFunc : testUpdateChannelPolicyFeeRateAccuracy ,
155
- },
156
124
{
157
125
Name : "connection timeout" ,
158
126
TestFunc : testNetworkConnectionTimeout ,
@@ -165,6 +133,26 @@ var allTestCases = []*lntest.TestCase{
165
133
Name : "addpeer config" ,
166
134
TestFunc : testAddPeerConfig ,
167
135
},
136
+ {
137
+ Name : "multi hop htlc local timeout" ,
138
+ TestFunc : testMultiHopHtlcLocalTimeout ,
139
+ },
140
+ {
141
+ Name : "multi hop local force close on-chain htlc timeout" ,
142
+ TestFunc : testMultiHopLocalForceCloseOnChainHtlcTimeout ,
143
+ },
144
+ {
145
+ Name : "multi hop remote force close on-chain htlc timeout" ,
146
+ TestFunc : testMultiHopRemoteForceCloseOnChainHtlcTimeout ,
147
+ },
148
+ {
149
+ Name : "private channel update policy" ,
150
+ TestFunc : testUpdateChannelPolicyForPrivateChannel ,
151
+ },
152
+ {
153
+ Name : "update channel policy fee rate accuracy" ,
154
+ TestFunc : testUpdateChannelPolicyFeeRateAccuracy ,
155
+ },
168
156
{
169
157
Name : "unannounced channels" ,
170
158
TestFunc : testUnannouncedChannels ,
@@ -297,6 +285,18 @@ var allTestCases = []*lntest.TestCase{
297
285
Name : "REST API" ,
298
286
TestFunc : testRestAPI ,
299
287
},
288
+ {
289
+ Name : "multi hop htlc local chain claim" ,
290
+ TestFunc : testMultiHopHtlcLocalChainClaim ,
291
+ },
292
+ {
293
+ Name : "multi hop htlc remote chain claim" ,
294
+ TestFunc : testMultiHopHtlcRemoteChainClaim ,
295
+ },
296
+ {
297
+ Name : "multi hop htlc aggregation" ,
298
+ TestFunc : testMultiHopHtlcAggregation ,
299
+ },
300
300
{
301
301
Name : "revoked uncooperative close retribution" ,
302
302
TestFunc : testRevokedCloseRetribution ,
@@ -310,11 +310,6 @@ var allTestCases = []*lntest.TestCase{
310
310
Name : "revoked uncooperative close retribution remote hodl" ,
311
311
TestFunc : testRevokedCloseRetributionRemoteHodl ,
312
312
},
313
- {
314
- Name : "revoked uncooperative close retribution altruist " +
315
- "watchtower" ,
316
- TestFunc : testRevokedCloseRetributionAltruistWatchtower ,
317
- },
318
313
{
319
314
Name : "single-hop send to route" ,
320
315
TestFunc : testSingleHopSendToRoute ,
@@ -519,6 +514,14 @@ var allTestCases = []*lntest.TestCase{
519
514
Name : "watchtower session management" ,
520
515
TestFunc : testWatchtowerSessionManagement ,
521
516
},
517
+ {
518
+ // NOTE: this test must be put in the same tranche as
519
+ // `testWatchtowerSessionManagement` to avoid parallel use of
520
+ // the default watchtower port.
521
+ Name : "revoked uncooperative close retribution altruist " +
522
+ "watchtower" ,
523
+ TestFunc : testRevokedCloseRetributionAltruistWatchtower ,
524
+ },
522
525
{
523
526
Name : "channel fundmax" ,
524
527
TestFunc : testChannelFundMax ,
0 commit comments