We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321decf commit 8907df9Copy full SHA for 8907df9
test/functional/wallet_multiwallet.py
@@ -8,6 +8,7 @@
8
"""
9
import os
10
import shutil
11
+import time
12
13
from test_framework.test_framework import BitcoinTestFramework
14
from test_framework.test_node import ErrorMatch
@@ -267,7 +268,11 @@ def wallet_file(name):
267
268
assert 'w1' not in self.nodes[0].listwallets()
269
270
# Successfully unload the wallet referenced by the request endpoint
271
+ # Also ensure unload works during walletpassphrase timeout
272
+ w2.encryptwallet('test')
273
+ w2.walletpassphrase('test', 1)
274
w2.unloadwallet()
275
+ time.sleep(1.1)
276
assert 'w2' not in self.nodes[0].listwallets()
277
278
# Successfully unload all wallets
0 commit comments