-
Notifications
You must be signed in to change notification settings - Fork 192
Refactor calibnet wallet test #6983
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
base: main
Are you sure you want to change the base?
Changes from all commits
21f50e5
b942e69
6585103
e23f77c
dc1dfe2
fd4c011
6c601fc
90cd130
9095e83
65e952c
e89d6b2
b06c190
1ca6b4f
722e752
2aab215
b4ad326
4790baa
d11e0d7
484f15c
f0c8aa3
37e45db
52fd19e
5ac730e
bfdccbd
81d8401
f2d38ea
92ec0d8
726b4d4
080842d
863749f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -211,6 +211,19 @@ mise task run test:nextest ${usage_profile?} | |
| mise task run test:cargo ${usage_profile?} | ||
| ''' | ||
|
|
||
| [tasks."test:wallet"] | ||
| description = "Run calibnet wallet integration tests." | ||
| shell = "bash -c" | ||
| usage = ''' | ||
| arg "<preloaded_key>" help="Hex-encoded preloaded calibnet wallet key (e.g. $CALIBNET_WALLET secret)" | ||
| ''' | ||
| run = ''' | ||
| set -euo pipefail | ||
| source ./scripts/tests/harness.sh | ||
| forest_wallet_init "${usage_preloaded_key?}" | ||
| cargo test --profile quick-test --features calibnet-wallet-integration --test calibnet_wallet -- --nocapture | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tests are run in parallel, no? Wouldn't this introduce some nonce races? It might be safer to run wallet tests on a single thread.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. after the nonce calculation fix we should not run into any nonce race conditions |
||
| ''' | ||
|
|
||
| [tasks."codecov:nextest"] | ||
| description = "Run codecov with nextest" | ||
| run = ''' | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.