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(rpc): Add Rust tests for lightwalletd sync from Zebra #4177

Merged
merged 21 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e8f445d
Make the lightwalletd integration test take a test type
teor2345 Apr 22, 2022
9cd3301
Configure lightwalletd tests based on the test type
teor2345 Apr 22, 2022
0d8b721
Remove obsolete kill_on_error() in the lightwalletd test
teor2345 Apr 22, 2022
cfd0ae3
Refactor to simplify the test function
teor2345 Apr 22, 2022
948982a
Move LightwalletdTestType to the lightwalletd module
teor2345 Apr 22, 2022
85476e0
Create a test function that runs the full lightwalletd test suite
teor2345 Apr 22, 2022
56680ec
Actually use the cached Zebra state
teor2345 Apr 22, 2022
e0306f7
Add checks for the new integration test modes
teor2345 Apr 22, 2022
b2be056
Populate the lightwalletd state dir in the FullSyncFromGenesis test
teor2345 Apr 24, 2022
4752bee
Fix up state handling, fail earlier if state is invalid
teor2345 Apr 24, 2022
0601ec9
Adjust timeouts and regex escapes
teor2345 Apr 24, 2022
5df93ef
Make state requirements for each test stricter
teor2345 Apr 24, 2022
0f3b0e4
Move configs to the top of the test function
teor2345 Apr 24, 2022
231d43b
Allow unexpected lightwalletd cached state in some tests
teor2345 Apr 24, 2022
e7af72a
Speed up tests slightly by removing an intermittent log check
teor2345 Apr 24, 2022
6be6a26
Move timeout selection into test type methods
teor2345 Apr 24, 2022
b6fc837
Move failure messages into test type methods
teor2345 Apr 25, 2022
2ad820b
Turn a function argument into an enum field
teor2345 Apr 25, 2022
30f06fe
Check lightwalletd state directly, rather than Zebra RPC results
teor2345 Apr 25, 2022
95a9d05
Update gRPC tests for function argument changes
teor2345 Apr 28, 2022
e83e93a
Remove duplicate env var constant and redundant code
teor2345 Apr 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading