Skip to content

Commit 17554ef

Browse files
committed
test: prefer sqlite for wallet tests
1 parent 8e0faba commit 17554ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ def parse_args(self):
214214
self.options.descriptors = None
215215
elif self.options.descriptors is None:
216216
# Some wallet is either required or optionally used by the test.
217-
# Prefer BDB unless it isn't available
218-
if self.is_bdb_compiled():
219-
self.options.descriptors = False
220-
elif self.is_sqlite_compiled():
217+
# Prefer SQLite unless it isn't available
218+
if self.is_sqlite_compiled():
221219
self.options.descriptors = True
220+
elif self.is_bdb_compiled():
221+
self.options.descriptors = False
222222
else:
223223
# If neither are compiled, tests requiring a wallet will be skipped and the value of self.options.descriptors won't matter
224224
# It still needs to exist and be None in order for tests to work however.

0 commit comments

Comments
 (0)