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(lib/erasure): Move test assertion to non-error condition #3371

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

edwardmack
Copy link
Member

Changes

  • Moved assertion that confirms expected chunks to only check when no error is expected since the expected chunks or not consistent when there is an error.
  • added t.Parallel to tests

Tests

go test github.com/ChainSafe/gossamer/lib/erasure-coding -v

Issues

Primary Reviewer

@kanishkatn

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #3371 (2b2e9fd) into feat/parachain (d1037b4) will increase coverage by 0.24%.
The diff coverage is n/a.

Additional details and impacted files
@@                Coverage Diff                 @@
##           feat/parachain    #3371      +/-   ##
==================================================
+ Coverage           51.43%   51.68%   +0.24%     
==================================================
  Files                 235      234       -1     
  Lines               28706    28595     -111     
==================================================
+ Hits                14765    14778      +13     
+ Misses              12505    12393     -112     
+ Partials             1436     1424      -12     

@kanishkatn kanishkatn merged commit fee212d into feat/parachain Jul 7, 2023
@kanishkatn kanishkatn deleted the ed/erasure_coding_test_update branch July 7, 2023 04:19
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.

5 participants