rpctest: increase sweeper BatchWindow during itests

Since we are checking HTLC aggregation, we must give the sweeper a bit
more time to aggregate them to avoid flakes.
This commit is contained in:
Johan T. Halseth
2020-12-09 12:24:04 +01:00
parent bb406c82a9
commit 70eb52643c

View File

@@ -13,5 +13,5 @@ var (
//
// To speed up integration tests waiting for a sweep to happen, the
// batch window is shortened.
DefaultBatchWindowDuration = 2 * time.Second
DefaultBatchWindowDuration = 8 * time.Second
)