aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2019-08-06 23:16:35 +0000
committerfanquake <fanquake@gmail.com>2019-09-24 07:53:29 +0800
commit9fe8d283e01ed3d721591fbc7f8326ceb6d706ff (patch)
tree3eb2a0e9401e48e25facea38d0a34daeaf5fd429
parent1d12e52db0f325f7d5239c117e3662db7a8966ad (diff)
Bugfix: QA: Run tests with UPnP disabled
Needed for builds configured with --enable-upnp-default Github-Pull: #16646 Rebased-From: b168dd30cf71ac176e271bc610b0b1a79ceaf075
-rw-r--r--test/functional/test_framework/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
index 87e2dbaf16..c27829183c 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -302,6 +302,7 @@ def initialize_datadir(dirname, n):
f.write("discover=0\n")
f.write("listenonion=0\n")
f.write("printtoconsole=0\n")
+ f.write("upnp=0\n")
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
return datadir