rgb-cln/tests
Rusty Russell 28b31c19dd pytest: fix flake in test_bolt11_null_after_pay
It's possible that l2 hasn't completely processed the connection yet:

```
        # create l2->l1 channel.
        l2.fundwallet(amount_sat * 5)
        l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
>       l2.rpc.fundchannel(l1.info['id'], amount_sat * 3)

tests/test_pay.py:3974:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
contrib/pyln-client/pyln/client/lightning.py:833: in fundchannel
    return self.call("fundchannel", payload)
contrib/pyln-testing/pyln/testing/utils.py:706: in call
    res = LightningRpc.call(self, method, payload, cmdprefix, filter)
...
E           pyln.client.lightning.RpcError: RPC call failed: method: fundchannel, payload: {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'amount': 3000000, 'announce': True}, error: {'code': 400, 'message': 'Unable to connect, no address known for peer', 'data': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'method': 'connect'}}

contrib/pyln-client/pyln/client/lightning.py:422: RpcError
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-02-05 10:02:46 +01:00
..
data upgradewallet: JSONRPC call to update p2sh outputs to a native segwit 2023-02-04 15:31:16 +10:30
fuzz tests/fuzz: don't pull in JSON common at all. 2022-11-09 20:25:58 +10:30
plugins pytest: neaten test_cln_sendpay_weirdness, rename. 2023-02-03 09:17:33 +10: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 dual-fund: remove anchor assumption for all dual-funded channels 2023-02-04 15:31:16 +10:30
test_cln_rs.py ci: Use bzip2 and release to reduce artifact size 2023-01-16 13:53:48 +10:30
test_closing.py tests: de-flake test that was failing on cltv expiry 2023-02-05 10:02:46 +01:00
test_connection.py dual-open: use tx-abort instead of warning/errors 2023-02-05 10:02:46 +01:00
test_db.py tests: use listpeerchannels. 2023-01-13 10:42:42 +10:30
test_gossip.py dual-fund: remove anchor assumption for all dual-funded channels 2023-02-04 15:31:16 +10:30
test_invoices.py pytest: use bech32 addresses everywhere. 2023-01-14 21:17:45 +10:30
test_misc.py datastore: Add check for empty key array 2023-01-31 10:23:18 +10:30
test_mkfunding.py pytest: add tests for devtools/mkfunding 2023-01-09 14:50:30 -06:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py dual-open: use tx-abort instead of warning/errors 2023-02-05 10:02:46 +01:00
test_pay.py pytest: fix flake in test_bolt11_null_after_pay 2023-02-05 10:02:46 +01:00
test_plugin.py dual-open: use tx-abort instead of warning/errors 2023-02-05 10:02:46 +01:00
test_wallet.py upgradewallet: JSONRPC call to update p2sh outputs to a native segwit 2023-02-04 15:31:16 +10:30
utils.py tests: anchors is only EXPERIMENTAL_FEATURES 2023-02-04 15:31:16 +10:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30