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 :/
This commit is contained in:
lisa neigut
2020-04-17 19:21:35 -05:00
committed by Rusty Russell
parent 6e4b4c50f0
commit 487771aee5

View File

@@ -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