From 70eb52643cb0c21d09e3eb8e630ee08179ec5fa8 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 9 Dec 2020 12:24:04 +0100 Subject: [PATCH] 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. --- sweep/defaults_rpctest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweep/defaults_rpctest.go b/sweep/defaults_rpctest.go index 6d027ab6..0d185e74 100644 --- a/sweep/defaults_rpctest.go +++ b/sweep/defaults_rpctest.go @@ -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 )