core-lightning/tests
Rusty Russell c6bd87ccab pytest: fix "bad gossip" flake in test_forward_event_notification
If not all nodes are up-to-date with the new blocks, they can reject
announcements:

```
lightningd-4: 2021-02-23T02:02:47.832Z DEBUG   022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: Ignoring future channel_announcment for 124x1x0 (current block 123)
lightningd-4: 2021-02-23T02:02:47.848Z DEBUG   lightningd: Adding block 133: 2d950451211398de9c10bf9df7eb53b385390eca31e306bc8fc1387b53d9f9a2
lightningd-4: 2021-02-23T02:02:47.865Z DEBUG   022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 124x1x0/0
lightningd-4: 2021-02-23T02:02:47.866Z DEBUG   022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 124x1x0/1
```

Technically, this change is not sufficient either, since *gossipd* might
not know about new block yet.  But it makes this case less likely.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-02-25 14:44:03 +10:30
..
data hsmd/db: backfill pubkey information so that psbts signing works 2020-07-29 13:13:46 +02:00
fuzz check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
plugins df-tests: use excess_as_change, test two-sided channels better 2021-02-04 13:25:34 -06:00
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: silence pytest warnings about unregistered 'slow_test' marker 2020-11-10 16:17:04 -06:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Really only check DB statements if the env-var is "1" 2021-01-04 11:25:50 +01:00
test_closing.py pytest: Stabilize test_onchain_feechange 2021-02-11 09:48:55 +01:00
test_connection.py df-tests: send payment over opened channel 2021-02-24 10:06:42 -06:00
test_db.py pytest: Rename all fund_channel to fundchannel 2020-09-25 21:04:56 +02:00
test_gossip.py lightningd: addgossip API to inject gossip messages. 2021-02-02 13:44:01 +01:00
test_invoices.py invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
test_misc.py pytest: detect warnings, too. 2021-02-04 12:02:52 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py offers: handle re-fetching the same invoice twice. 2021-02-25 14:44:03 +10:30
test_plugin.py pytest: fix "bad gossip" flake in test_forward_event_notification 2021-02-25 14:44:03 +10:30
test_wallet.py fund/utxopsbt: flag 'excess_as_change' to add a change output for excess 2021-02-04 13:25:34 -06:00
utils.py lightningd: control onion messages by experimental-onion-messages option. 2021-01-13 14:45:36 +01:00