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

Tests: Convert goal app info expect test to e2e #4449

Merged

Conversation

jasonpaulos
Copy link
Member

@jasonpaulos jasonpaulos commented Aug 22, 2022

Summary

This PR migrates the existing statefulTealAppInfoTest.exp expect test to a new goal-app-info.sh e2e test.

The original test was flaky, so this should hopefully reduce test flakiness.

Note the new test is not exactly the same, as it simplifies the test setup and tests new outputs that did not exist when the original test was written. However, these changes should increase the strength of this test.

Test Plan

Test migrated.

@jasonpaulos jasonpaulos changed the title Migrate goal app info expect test to an e2e test Tests: Migrate goal app info expect test to an e2e test Aug 22, 2022
@jasonpaulos jasonpaulos changed the title Tests: Migrate goal app info expect test to an e2e test Tests: Convert goal app info expect test to e2e Aug 22, 2022
@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #4449 (283aca0) into master (e4d6d42) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4449      +/-   ##
==========================================
+ Coverage   55.19%   55.23%   +0.03%     
==========================================
  Files         398      398              
  Lines       50165    50165              
==========================================
+ Hits        27689    27708      +19     
+ Misses      20159    20147      -12     
+ Partials     2317     2310       -7     
Impacted Files Coverage Δ
ledger/tracker.go 73.93% <0.00%> (-0.86%) ⬇️
catchup/service.go 68.64% <0.00%> (-0.75%) ⬇️
network/wsNetwork.go 64.63% <0.00%> (-0.20%) ⬇️
catchup/peerSelector.go 100.00% <0.00%> (+1.04%) ⬆️
crypto/merkletrie/node.go 93.48% <0.00%> (+1.86%) ⬆️
crypto/merkletrie/trie.go 68.61% <0.00%> (+2.18%) ⬆️
network/wsPeer.go 67.67% <0.00%> (+2.19%) ⬆️
ledger/blockqueue.go 88.50% <0.00%> (+2.87%) ⬆️
network/netprio.go 78.26% <0.00%> (+8.69%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasonpaulos Thanks for the effort here - the new test mirrors the old test's form + adds assertions.

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

Successfully merging this pull request may close these issues.

None yet

2 participants