mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
It seems we spend a lot of time waiting for `bitcoind` and `lightningd` to talk to disks. This adds the `TEST_DIR` environment variable, allowing for example to use `/dev/shm`, or a faster disk than the disk `/tmp` is on, as the root directory for all test-related files. Testing this on one of our builder machines cut the time to run the entire suite under valgrind roughly in half (180-200 seconds vs 440-490 seconds). |
||
---|---|---|
.. | ||
data | ||
plugins | ||
benchmark.py | ||
btcproxy.py | ||
conftest.py | ||
fixtures.py | ||
requirements.txt | ||
test_closing.py | ||
test_connection.py | ||
test_db.py | ||
test_gossip.py | ||
test_invoices.py | ||
test_misc.py | ||
test_pay.py | ||
test_plugin.py | ||
test_wallet.py | ||
utils.py |