QA: Fix race condition in wallet_encryption test

This commit is contained in:
Jonas Schnelli committed 2019-07-18 22:31:24 +02:00
1 parent e5abb59a9a
commit 024ecd7e01
1 file changed
+1 -1
+1 -1
View File
@@ -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