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:
4 files changed
+295
-304
No files matched your search
@@ -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...)
|
||||
|
||||
|
||||
Reference in new issue
Block a user