From a606f462bc1748b03d1faf7d23f72e0bdebc0a54 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 4 Nov 2020 11:03:37 +0100 Subject: [PATCH] itest: move longest test to beginning To make sure the test that takes the longest overall time is always started first, independent of the number of test tranches we run, we move it to the beginning of the list. Because that test involves a lot of waiting, it allows us to play around with the number of tranches more efficiently. --- lntest/itest/lnd_test_list_on_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lntest/itest/lnd_test_list_on_test.go b/lntest/itest/lnd_test_list_on_test.go index 420331c7..3575213c 100644 --- a/lntest/itest/lnd_test_list_on_test.go +++ b/lntest/itest/lnd_test_list_on_test.go @@ -3,6 +3,10 @@ package itest var allTestCases = []*testCase{ + { + name: "test multi-hop htlc", + test: testMultiHopHtlcClaims, + }, { name: "sweep coins", test: testSweepAllCoins, @@ -144,10 +148,6 @@ var allTestCases = []*testCase{ name: "async bidirectional payments", test: testBidirectionalAsyncPayments, }, - { - name: "test multi-hop htlc", - test: testMultiHopHtlcClaims, - }, { name: "switch circuit persistence", test: testSwitchCircuitPersistence,