itest: break testMultiHopHtlcClaims into smaller test cases

This commit breaks the large `testMultiHopHtlcClaims` into independent
test cases to take the advantage of parallel testing. The old setup will
put the stress of creating and syncing new blocks into a single core,
which causes a much longer test time and sometimes times out.
This commit is contained in:
yyforyongyu committed 2022-10-27 01:11:34 +08:00
1 parent 3f14ee5870
commit 78de9dae05
4 files changed
+295 -304

No files matched your search

+4
View File
@@ -181,6 +181,10 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
fmt.Sprintf("--trickledelay=%v", trickleDelay),
fmt.Sprintf("--profile=%d", cfg.ProfilePort),
fmt.Sprintf("--caches.rpc-graph-cache-duration=%d", 0),
// Use a small batch window so we can broadcast our sweep
// transactions faster.
"--sweeper.batchwindowduration=5s",
}
args = append(args, nodeArgs...)