tests: move EXP_DF into the testing utils

This commit is contained in:
niftynei
2021-05-07 13:27:54 -05:00
committed by Rusty Russell
parent 7a488cc11e
commit 484d6bde83
5 changed files with 7 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ TEST_DEBUG = env("TEST_DEBUG", "0") == "1"
SLOW_MACHINE = env("SLOW_MACHINE", "0") == "1"
DEPRECATED_APIS = env("DEPRECATED_APIS", "0") == "1"
TIMEOUT = int(env("TIMEOUT", 180 if SLOW_MACHINE else 60))
EXPERIMENTAL_DUAL_FUND = env("EXPERIMENTAL_DUAL_FUND", "0") == "1"
def wait_for(success, timeout=TIMEOUT):