rgb-cln/tests
Rusty Russell 8c9fa457ba pytest: fix flake in test_gossip_timestamp_filter
```
        # 0x0100 = channel_announcement
        # 0x0102 = channel_update
        # (Node announcement may have any timestamp)
        types = Counter([m[0:4] for m in msgs])
        assert types['0100'] == 1
>       assert types['0102'] == 2
E       assert 1 == 2

tests/test_gossip.py:324: AssertionError
```

Examining the logs shows that we ask l4 for timestamps
"first_timestamp=1658892115 timestamp_range=13", and the timestamp on
the missing update is exactly `1658892128`.

So round the end time up by 1 for filtering.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-28 15:08:44 +09:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz fuzz: fix fuzzing compilation. 2022-07-25 08:08:32 -07:00
plugins Makefile: use a library archive for CCAN 2022-07-17 08:51:02 +09:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
test_bookkeeper.py bkpr incomestmt: properly escape things for the CSVs 2022-07-28 12:08:18 +09:30
test_cln_rs.py pytest: Move generated grpc bindings to pyln-testing 2022-07-21 14:19:06 +09:30
test_closing.py coin_mvt/bkpr: add "stealable" tag to stealable outputs 2022-07-28 12:08:18 +09:30
test_connection.py connectd: control connect backoff from lightningd. 2022-07-28 15:08:44 +09:30
test_db.py pytest: don't redirect stderr by default. 2022-07-21 15:37:05 -05:00
test_gossip.py pytest: fix flake in test_gossip_timestamp_filter 2022-07-28 15:08:44 +09:30
test_invoices.py bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
test_misc.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py bkpr-zeroconf: Zeroconfs will emit 'channel_proposed' event 2022-07-28 12:08:18 +09:30
test_pay.py bkpr csvs: koinly + cointracker only accept fees on the same line 2022-07-28 12:08:18 +09:30
test_plugin.py pytest: fix test_commando_rune flake. 2022-07-26 09:48:56 -07:00
test_wallet.py hsmtool: implement checkhsm. 2022-07-22 16:57:27 +02:00
utils.py bkpr: check for channel resolution for any "originated" event 2022-07-28 12:08:18 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30