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

Testing: Allow go e2e tests to easily test multiple consensus versions #5981

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

jannotti
Copy link
Contributor

devmode_test.test.go was converted as an example. Perhaps we should provide a helper to test several versions.

Input especially solicited on the idea of only running on "future" when testing.Short. Smae idea could speed up our normal unit tests that use TestConsensusRange.

Summary

Test Plan

@jannotti jannotti changed the title Allow go e2e tests to easily test multiple consensus versions Testing: Allow go e2e tests to easily test multiple consensus versions Apr 19, 2024
@jannotti jannotti self-assigned this Apr 19, 2024
devmode_test.test.go was converted as an example.  Perhaps we should
provide a helper to test several versions.

Input especially solicited on the idea of only running on "future"
when testing.Short.  Smae idea could speed up our normal unit tests
that use TestConsensusRange.
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 55.97%. Comparing base (c07f2d5) to head (1acf8a9).

Files Patch % Lines
netdeploy/network.go 0.00% 11 Missing ⚠️
cmd/goal/network.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5981      +/-   ##
==========================================
- Coverage   56.05%   55.97%   -0.08%     
==========================================
  Files         481      481              
  Lines       67679    67685       +6     
==========================================
- Hits        37936    37888      -48     
- Misses      27177    27221      +44     
- Partials     2566     2576      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ohill
ohill previously approved these changes Apr 19, 2024
@jannotti jannotti requested a review from ohill April 19, 2024 22:29
@ohill ohill merged commit 5f81b7b into algorand:master Apr 26, 2024
18 checks passed
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.

3 participants