mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30: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))
|
||||
|
||||
# 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)
|
||||
|
||||
# Test wrong passphrase
|
||||
|
Loading…
Reference in New Issue
Block a user