mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 18:00:13 +02:00
QA: Fix race condition in wallet_encryption test
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user