Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Apr 2, 2020

No description provided.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Currently timing out after 60 seconds but I suppose this is for testing #18487.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/walletpasshprase/walletpassphrase/

@jonatack
Copy link
Member

jonatack commented Apr 2, 2020

This passes on #18487, but am seeing another error about 20% of the time:

2020-04-02T16:05:38.667000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/home/jon/projects/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 112, in main
    self.run_test()
  File "test/functional/wallet_encryption.py", line 131, in run_test
    assert_raises_rpc_error(-13, "Please enter the wallet passphrase with walletpassphrase first", self.nodes[0].dumpprivkey, address)
  File "/home/jon/projects/bitcoin/bitcoin/test/functional/test_framework/util.py", line 114, in assert_raises_rpc_error
    assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
AssertionError: No exception raised

@maflcko maflcko force-pushed the 2004-qaWalletFreeze branch from fa8e523 to faae3f9 Compare April 2, 2020 16:17
@promag
Copy link
Contributor

promag commented Apr 2, 2020

I don't think this would always fail without #18487 so it doesn't prevent a regression. Maybe we should unit test that RPCRunLater waits for event callback to finish if the call was already triggered?

@maflcko maflcko removed this from the 0.20.0 milestone Apr 2, 2020
@DrahtBot DrahtBot added the Tests label Apr 2, 2020
@maflcko maflcko closed this Apr 6, 2020
@maflcko maflcko deleted the 2004-qaWalletFreeze branch April 6, 2020 20:51
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants