-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix(aries_vcx): make tests run in parallel #1057
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1057 +/- ##
========================================
- Coverage 0.05% 0.05% -0.01%
========================================
Files 379 379
Lines 20912 20956 +44
Branches 3853 3860 +7
========================================
Hits 12 12
- Misses 20899 20943 +44
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
1b8eb0c
to
33f7f8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some naming comments
aries_vcx/tests/utils/test_agent.rs
Outdated
@@ -81,3 +83,38 @@ pub async fn create_test_agent( | |||
> { | |||
create_test_agent_from_seed(&generate_random_seed(), genesis_file_path).await | |||
} | |||
|
|||
pub async fn create_test_endorser<LW, W>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: let's call this create_test_agent_endorser
for consistency
Alternatively we could drop _test_
from all of these methods keeping it just create_agent_<foobar>
aries_vcx/tests/test_pool.rs
Outdated
@@ -196,15 +209,28 @@ async fn test_pool_write_new_endorser_did() -> Result<(), Box<dyn Error>> { | |||
#[ignore] | |||
async fn test_pool_add_get_service_public() -> Result<(), Box<dyn Error>> { | |||
let setup = build_setup_profile().await; | |||
let did = setup.institution_did.clone(); | |||
let acme = create_test_endorser( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: let's call this agent_endorser
or perhaps just endorser
33f7f8b
to
2380c89
Compare
fixes hyperledger#1050 Signed-off-by: Ondrej Prazak <[email protected]>
2380c89
to
8713945
Compare
fixes #1050