core-lightning/tests
niftynei 7bfbe1492a test_close: sync l1 to the blockchain, so that the events are there
Flake on CI coming from `penalty_in/outhtlc` due to the fact that all
the events haven't arrived for the check.

If we wait to sync `l1` as well as `l2`, this should resolve the flake.

        # We use a subset of tags in expected_2 that are used in expected_1
>       tags = check_utxos_channel(l1, [channel_id], expected_1)

tests/test_closing.py:726:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:321: in check_utxos_channel
    txid = matchup_events(u_set, evs, chans, tag_list)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

u_set = [[{'account_id': 'external', 'blockheight': 104, 'coin_type': 'bcrt', 'credit': '100000000msat', ...}, None]]
evs = [('external', ['penalty'], None, None), ('external', ['penalty'], None, None), ('external', ['penalty'], None, None)]
chans = ['2722a5fe49a8b5fa4004c19828f3e903632ac02712c6fe78ebea418daad2691f']
tag_list = {'0': '892c64c7d8c8f15d7bdcdcde34b615817d273d2e33d9d775cc9ff38e8e3deeb2', 'A': '1e69d2aa8d41eaeb78fec61227c02a6303e9f32898c10440fab5a849fea52227', 'B': '0e11e2ca01bf5f30b4c54522af172af055dcff8e3810f80a5069a2394cad74b5'}

    def matchup_events(u_set, evs, chans, tag_list):
>       assert len(u_set) == len(evs) and len(u_set) > 0
E       AssertionError
2022-03-01 16:19:34 -06:00
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
plugins pytest: check for remote_addr 2022-02-22 05:45:47 +10:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +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 pytest: don't copy db to query it. 2021-08-26 12:44:02 +09:30
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_cln_rs.py pytest: Test the rust bindings from cln-rpc 2022-02-11 16:02:25 +01:00
test_closing.py test_close: sync l1 to the blockchain, so that the events are there 2022-03-01 16:19:34 -06:00
test_connection.py testing: fix flake in test_ping_timeout 2022-03-01 09:38:40 +10:30
test_db.py wallet/db_sqlite3.c: Support direct replication of SQLITE3 backends. 2021-11-17 12:10:07 +10:30
test_gossip.py plugin-funder: fix typos in option lease-fee-base-msat and funder-fuzz-percent 2022-03-01 09:38:40 +10:30
test_invoices.py pytest: protect against bad gossip messages from mining confirms too fast. 2022-02-08 11:15:52 +10:30
test_misc.py pyln-testing: in LightningNode.openchannel, make wait_for_announce more reliable 2022-03-01 09:38:40 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py plugin-funder: fix typos in option lease-fee-base-msat and funder-fuzz-percent 2022-03-01 09:38:40 +10:30
test_pay.py gossipd: don't send updates in error messages for unannounced channels. 2022-02-23 14:47:39 +10:30
test_plugin.py testing: cleanup in test_plugin_shutdown 2022-03-01 09:38:40 +10:30
test_wallet.py bitcoind: importmulti fails (bitcoin master), use importdescriptors 2022-02-20 19:29:44 +10:30
utils.py pytest: protect against bad gossip messages from mining confirms too fast. 2022-02-08 11:15:52 +10:30