From 28c4a52aa6ed98bcd7b9a89920d7956b3401d904 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 3 Feb 2024 14:01:03 +1030 Subject: [PATCH] pytest: another bad gossip flake This time in renepay tests. Signed-off-by: Rusty Russell --- tests/test_renepay.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_renepay.py b/tests/test_renepay.py index 45caa1ec0..4d606bd9a 100644 --- a/tests/test_renepay.py +++ b/tests/test_renepay.py @@ -297,6 +297,10 @@ def start_channels(connections): scid = src.get_channel_scid(dst) scids.append(scid) + # Make sure they have all seen block so they don't complain about + # the coming gossip messages + sync_blockheight(bitcoind, nodes) + bitcoind.generate_block(5) # Make sure everyone sees all channels, all other nodes