From 487771aee5772f74716a4ad0d362a5ebf9621db5 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Fri, 17 Apr 2020 19:21:35 -0500 Subject: [PATCH] tests: skip longer htlc tests on valgring+slow machines These guys take a while to run, so let's just skip them on the valgrind/slow-machine combos :/ --- tests/test_closing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_closing.py b/tests/test_closing.py index 967286683..8eb8df019 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -701,6 +701,7 @@ def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams): @unittest.skipIf(not DEVELOPER, "needs DEVELOPER=1") +@unittest.skipIf(SLOW_MACHINE and VALGRIND, "slow test") @unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db") def test_penalty_htlc_tx_fulfill(node_factory, bitcoind): """ Test that the penalizing node claims any published @@ -842,6 +843,7 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind): @unittest.skipIf(not DEVELOPER, "needs DEVELOPER=1") +@unittest.skipIf(SLOW_MACHINE and VALGRIND, "slow test") @unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db") def test_penalty_htlc_tx_timeout(node_factory, bitcoind): """ Test that the penalizing node claims any published