Skip to content

Commit 2b4ff9f

Browse files
pytest: fix valgrind test flake regressions
1 parent d119138 commit 2b4ff9f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_gossip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ def test_getroute_exclude_duplicate(node_factory):
15061506

15071507
def test_getroute_exclude(node_factory, bitcoind):
15081508
"""Test getroute's exclude argument"""
1509-
l1, l2, l3, l4, l5 = node_factory.get_nodes(5)
1509+
l1, l2, l3, l4, l5 = node_factory.get_nodes(5, opts={'disable-plugin': 'cln-grpc'})
15101510
node_factory.join_nodes([l1, l2, l3, l4], wait_for_announce=True)
15111511

15121512
# This should work

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ def test_important_plugin(node_factory):
25332533
n = node_factory.get_node(options={"important-plugin": os.path.join(pluginsdir, "nonexistent")},
25342534
may_fail=True, expect_fail=True,
25352535
# Other plugins can complain as lightningd stops suddenly:
2536-
broken_log='Plugin marked as important, shutting down lightningd|Reading sync lightningd: Connection reset by peer|Lost connection to the RPC socket|Plugin terminated before replying to RPC call|plugin-cln-xpay: askrene-create-layer failed with.*Unkown command',
2536+
broken_log='Plugin marked as important, shutting down lightningd|Reading sync lightningd: Connection reset by peer|Lost connection to the RPC socket|Plugin terminated before replying to RPC call|plugin-cln-xpay: askrene-create-layer failed with.*Unknown command',
25372537
start=False)
25382538

25392539
n.daemon.start(wait_for_initialized=False, stderr_redir=True)

0 commit comments

Comments
 (0)