aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2019-08-06 23:16:35 +0000
committerfanquake <[email protected]>2019-09-24 07:53:29 +0800
commit9fe8d283e01ed3d721591fbc7f8326ceb6d706ff (patch)
tree3eb2a0e9401e48e25facea38d0a34daeaf5fd429 /test/functional/test_framework
parentAdd vertical spacer (diff)
downloaddiscoin-9fe8d283e01ed3d721591fbc7f8326ceb6d706ff.tar.xz
discoin-9fe8d283e01ed3d721591fbc7f8326ceb6d706ff.zip
Bugfix: QA: Run tests with UPnP disabled
Needed for builds configured with --enable-upnp-default Github-Pull: #16646 Rebased-From: b168dd30cf71ac176e271bc610b0b1a79ceaf075
Diffstat (limited to 'test/functional/test_framework')
-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 87e2dbaf1..c27829183 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