[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... |
qa/rpc-tests/keypool.py
Outdated
There was a problem hiding this comment.
Concept ACK, but setting a timeout of 1 and then waiting a second is too close. A slight mistiming (e.g. busy machine) would result in a race condition, what about waiting 2 seconds instead?
fadceb7 to
fa1cb1a
Compare
There was a problem hiding this comment.
Maybe this ought to actually try to do something to test the wallet relocking?
fa1cb1a [qa] Test walletpassphrase timeout (MarcoFalke)
Github-Pull: bitcoin#7320 Rebased-From: fa1cb1a
Github-Pull: bitcoin#7320 Rebased-From: fa1cb1a
Test case for #7316
Test code:
$ git checkout fadceb7;make;BITCOIND=bitcoin-qt qa/pull-tester/rpc-tests.py keypool