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

fix(aries_vcx): make tests run in parallel #1057

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

xprazak2
Copy link
Contributor

fixes #1050

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2023

Codecov Report

Merging #1057 (2380c89) into main (d4e0bb1) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 0.00%.

❗ Current head 2380c89 differs from pull request most recent head 8713945. Consider uploading reports for the commit 8713945 to get more accurate results

@@           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              
Flag Coverage Δ
unittests-aries-vcx 0.05% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
aries_vcx/tests/test_connection.rs 0.83% <0.00%> (-0.05%) ⬇️
aries_vcx/tests/utils/test_agent.rs 0.00% <0.00%> (ø)
aries_vcx/tests/test_pool.rs 0.27% <0.00%> (-0.02%) ⬇️

... and 1 file with indirect coverage changes

Copy link
Contributor

@Patrik-Stas Patrik-Stas left a 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

@@ -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>(
Copy link
Contributor

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>

@@ -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(
Copy link
Contributor

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

@Patrik-Stas Patrik-Stas merged commit 4b009f1 into hyperledger:main Nov 13, 2023
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable running aries_vcx tests in parallel
3 participants