mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
testing: fix flake in test_fetchinvoice_3hop
This commit is contained in:
parent
605fda7214
commit
9b70c9d63b
1 changed files with 4 additions and 0 deletions
|
@ -4352,6 +4352,10 @@ def test_fetchinvoice_3hop(node_factory, bitcoind):
|
|||
|
||||
l1.rpc.call('fetchinvoice', {'offer': offer1['bolt12']})
|
||||
|
||||
# Make sure l4 handled both onions before shutting down
|
||||
l1.daemon.wait_for_log(r'plugin-fetchinvoice: Received modern onion .*obs2\\":false')
|
||||
l1.daemon.wait_for_log(r'plugin-fetchinvoice: No match for modern onion.*obs2\\":true')
|
||||
|
||||
# Test with obsolete onion.
|
||||
l4.stop()
|
||||
l4.daemon.opts['dev-no-modern-onion'] = None
|
||||
|
|
Loading…
Add table
Reference in a new issue