Skip to content

Commit

Permalink
tests: disaply rapid gossip sync
Browse files Browse the repository at this point in the history
        elif "error" in resp:
>           raise RpcError(method, payload, resp['error'])
E           pyln.client.lightning.RpcError: RPC call failed: method: barqpay, payload: {'bolt11_invoice': 'lnbcrt1pnj539usp5kfyc96j0ef2w7t0pk3vz9423frfdkawm8ry2let740kf8rxn69xspp5v6g5apu9kwe0sacxqgw57hyxfxqdlq5ss5c7s67ukrtk3t0dd27sdqjv3jhxcmjd9c8g6t0dcxqyjw5qcqp99qxpqysgqcmytrq84npqv2y304p4rja5rnp62cf78sxdntvmcw3x0f6rfsd9kp2c60eapssdvnf4mrutratq2cxlt4cawux6kvskdyx6hdkeyppqplefchj', 'strategy': 'probabilistic', 'amount_msat': 123000}, error: {'code': -1, 'data': None, 'message': 'Packet extended beyond the provided bytes'}

In addition this should be wrong anyway because rapig gossip sync is
not working on regtest iirc.

Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Nov 5, 2024
1 parent 3b09f8f commit e9e1554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_init(node_factory):


def test_pay_amounts(node_factory):
"""We steal this from core lightning test_pay.py, and we are try just
"""We steal this from core lightning test_pay.py, and we are try just
to pay and invoice with amount"""
l1, l2 = node_factory.line_graph(2, opts=[{"plugin": barq_binary }, { "plugin": barq_binary}], wait_for_announce=True)
inv = l2.rpc.invoice(Millisatoshi("123sat"), 'test_pay_amounts', 'description')['bolt11']
Expand Down Expand Up @@ -81,6 +81,7 @@ def test_pay_fail_when_there_is_no_channel(node_factory):
assert invoice['status'] == 'unpaid'


@pytest.skip(reason="How we test the ldk rapid gossip sync?")
def test_pay_with_ldk_algo(node_factory):
"""Try LDK algorithm"""
l1, l2 = node_factory.line_graph(2, opts=[{"plugin": barq_binary }, { "plugin": barq_binary}], wait_for_announce=True)
Expand Down

0 comments on commit e9e1554

Please sign in to comment.