From 1fb505d118d18c9f65476090c5e3512d95ffb881 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 11 May 2020 09:51:42 +0930 Subject: [PATCH] pytest: extend timeout for test_payment_duplicate_uncommitted We've been seeing some Travis timeouts under VALGRIND, with the 10 second timeout here: use TIMEOUT as per standard. Signed-off-by: Rusty Russell --- tests/test_pay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pay.py b/tests/test_pay.py index 357a99b41..6c0190481 100644 --- a/tests/test_pay.py +++ b/tests/test_pay.py @@ -448,8 +448,8 @@ def test_payment_duplicate_uncommitted(node_factory, executor): l1.rpc.dev_reenable_commit(l2.info['id']) # These should succeed. - fut.result(10) - fut2.result(10) + fut.result(TIMEOUT) + fut2.result(TIMEOUT) @unittest.skipIf(not DEVELOPER, "Too slow without --dev-fast-gossip")