aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorS3RK <1466284+S3RK@users.noreply.github.com>2022-12-05 09:54:38 +0100
committerS3RK <1466284+S3RK@users.noreply.github.com>2022-12-06 09:17:25 +0100
commit17554efb6095f6ec273e52568efe1678253cb7c0 (patch)
treed9a6bb9bbbc2b8a013e7036a029feec05bfe0630 /test
parent8e0fabaabf8f45b82256c1934c2507d03351acaa (diff)
downloadbitcoin-17554efb6095f6ec273e52568efe1678253cb7c0.tar.xz
test: prefer sqlite for wallet tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_framework/test_framework.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py
index 7cfeae3ff6..a3f2bae2d9 100755
--- a/test/functional/test_framework/test_framework.py
+++ b/test/functional/test_framework/test_framework.py
@@ -214,11 +214,11 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
self.options.descriptors = None
elif self.options.descriptors is None:
# Some wallet is either required or optionally used by the test.
- # Prefer BDB unless it isn't available
- if self.is_bdb_compiled():
- self.options.descriptors = False
- elif self.is_sqlite_compiled():
+ # Prefer SQLite unless it isn't available
+ if self.is_sqlite_compiled():
self.options.descriptors = True
+ elif self.is_bdb_compiled():
+ self.options.descriptors = False
else:
# If neither are compiled, tests requiring a wallet will be skipped and the value of self.options.descriptors won't matter
# It still needs to exist and be None in order for tests to work however.