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: Make e2e subs report individual results better #4286

Merged
merged 4 commits into from
Jul 26, 2022

Conversation

jannotti
Copy link
Contributor

@jannotti jannotti commented Jul 23, 2022

Intent is to make CircleCI aware of individual tests in e2e subs.

e2e_client_runner now spits out a gotest compatible json file if TEST_RESULTS is set, then converts it to junit xml using gotestsum (since that's what CircleCI understands).

Some aspects of the client runner that caused it to terminate tests early after one failure were removed, so now the failures can be individually reported.

@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #4286 (7b12496) into master (b8007e4) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4286      +/-   ##
==========================================
+ Coverage   55.25%   55.32%   +0.07%     
==========================================
  Files         395      395              
  Lines       50333    50333              
==========================================
+ Hits        27809    27849      +40     
+ Misses      20136    20096      -40     
  Partials     2388     2388              
Impacted Files Coverage Δ
ledger/tracker.go 77.15% <0.00%> (-0.87%) ⬇️
catchup/service.go 68.88% <0.00%> (ø)
network/wsPeer.go 68.49% <0.00%> (+0.27%) ⬆️
network/wsNetwork.go 65.17% <0.00%> (+0.28%) ⬆️
ledger/acctupdates.go 70.52% <0.00%> (+0.60%) ⬆️
crypto/merkletrie/node.go 93.48% <0.00%> (+1.86%) ⬆️
agreement/proposalManager.go 98.03% <0.00%> (+1.96%) ⬆️
agreement/cryptoVerifier.go 69.71% <0.00%> (+2.11%) ⬆️
crypto/merkletrie/trie.go 68.61% <0.00%> (+2.18%) ⬆️
node/node.go 25.39% <0.00%> (+2.38%) ⬆️
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

@jannotti jannotti marked this pull request as ready for review July 26, 2022 01:21
@brianolson
Copy link
Contributor

I think this could be cleaner with jsonfile and event_log as members of RunSet (they're always used with that context available, so shouldn't be hard). Otherwise looks good.

@jannotti
Copy link
Contributor Author

I think this could be cleaner with jsonfile and event_log as members of RunSet (they're always used with that context available, so shouldn't be hard). Otherwise looks good.

Agree, I'll move it. I don't like that global

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants