Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Rewrite rpc_wallet_encrypted_wallet_sapzkeys unit test as functional test #2725

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

furszy
Copy link

@furszy furszy commented Jan 15, 2022

As this test requires a complete real wallet, and not a mocked one, and accesses the node through the RPC server commands in order to perform sapling keys/addresses validation on an encrypted wallet, it's by definition a functional test.

This solves the unneeded headaches that we are having with the unit test. Which is failing sometimes for a missing base chainparams initialization which has nothing to do with the test purpose.

@furszy furszy self-assigned this Jan 15, 2022
@furszy furszy added this to the 6.0.0 milestone Jan 15, 2022
@furszy furszy added the Tests label Jan 15, 2022
…ional test

As it requires a complete real wallet, and not a mocked one, in order to perform the encryption checks, it's by definition a functional test.
@furszy furszy changed the title [WIP][test] Rewrite rpc_wallet_encrypted_wallet_sapzkeys unit test as functional test [test] Rewrite rpc_wallet_encrypted_wallet_sapzkeys unit test as functional test Jan 15, 2022
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

ACK 684c1b5

@furszy furszy requested a review from Fuzzbawls January 17, 2022 14:23
@furszy furszy merged commit b6c6a8f into PIVX-Project:master Jan 20, 2022
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.5.0 Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants