mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-19 00:11:42 +02:00
QA: Fix race condition in wallet_encryption test
This commit is contained in:
parent
e5abb59a9a
commit
024ecd7e01
@ -49,7 +49,7 @@ class WalletEncryptionTest(BitcoinTestFramework):
|
|||||||
assert_equal(privkey, self.nodes[0].dumpprivkey(address))
|
assert_equal(privkey, self.nodes[0].dumpprivkey(address))
|
||||||
|
|
||||||
# Check that the timeout is right
|
# Check that the timeout is right
|
||||||
time.sleep(2)
|
time.sleep(3)
|
||||||
assert_raises_rpc_error(-13, "Please enter the wallet passphrase with walletpassphrase first", self.nodes[0].dumpprivkey, address)
|
assert_raises_rpc_error(-13, "Please enter the wallet passphrase with walletpassphrase first", self.nodes[0].dumpprivkey, address)
|
||||||
|
|
||||||
# Test wrong passphrase
|
# Test wrong passphrase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user