Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
[qa] Test walletpassphrase timeout #7320
Conversation
|
Nice! But this actually does not test the issue #7316, because the reported issue can only happen when you run bitcoin-qt with |
|
@jonasschnelli See my "test code" ;) Are you still working on the |
|
@MarcoFalke: Ah. Right. Your testcode looks good. Indeed, this would catch #7316.
It's relatively far down on my priority list. But not given up... |
jonasschnelli
added
Wallet
Tests
labels
Jan 8, 2016
laanwj
commented on an outdated diff
Jan 9, 2016
| nodes[0].keypoolrefill(3) | ||
| - nodes[0].walletlock() | ||
| + # test walletpassphrase timeout | ||
| + time.sleep(1) |
laanwj
Owner
|
luke-jr
commented on the diff
Jan 15, 2016
| nodes[0].keypoolrefill(3) | ||
| - nodes[0].walletlock() | ||
| + # test walletpassphrase timeout | ||
| + time.sleep(1.1) | ||
| + assert_equal(nodes[0].getwalletinfo()["unlocked_until"], 0) |
luke-jr
Member
|
MarcoFalke commentedJan 8, 2016
Test case for #7316
Test code:
$ git checkout fadceb7;make;BITCOIND=bitcoin-qt qa/pull-tester/rpc-tests.py keypool