mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Travis: eliminate 4 slowest tests, with new SLOW_MACHINE flag.
In one case we can reduce, in the others we eliminated if VALGRIND. Here are the ten slowest tests on my laptop: 469.75s call tests/test_closing.py::test_closing_torture 243.61s call tests/test_closing.py::test_onchain_multihtlc_our_unilateral 222.73s call tests/test_closing.py::test_onchain_multihtlc_their_unilateral 217.80s call tests/test_closing.py::test_closing_different_fees 146.14s call tests/test_connection.py::test_dataloss_protection 138.93s call tests/test_connection.py::test_restart_many_payments 129.66s call tests/test_gossip.py::test_gossip_persistence 128.73s call tests/test_connection.py::test_no_fee_estimate 122.46s call tests/test_misc.py::test_htlc_send_timeout 118.79s call tests/test_closing.py::test_onchain_dust_out Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
7d614aaf25
commit
aab91557f3
@@ -37,6 +37,7 @@ with open('config.vars') as configfile:
|
||||
DEVELOPER = os.getenv("DEVELOPER", config['DEVELOPER']) == "1"
|
||||
TIMEOUT = int(os.getenv("TIMEOUT", "60"))
|
||||
VALGRIND = os.getenv("VALGRIND", config['VALGRIND']) == "1"
|
||||
SLOW_MACHINE = os.getenv("SLOW_MACHINE", "0") == "1"
|
||||
|
||||
|
||||
def wait_for(success, timeout=TIMEOUT):
|
||||
|
||||
Reference in New Issue
Block a user