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: use temp file for capturing e2e goal-partkey-commands output #6115

Merged
merged 8 commits into from
Aug 30, 2024

Conversation

cce
Copy link
Contributor

@cce cce commented Aug 28, 2024

Summary

Since #6095 fixed issues with this test, it seems to fail occasionally with long goal outputs. This attempts to fix the issue like seen in https://app.circleci.com/pipelines/github/algorand/go-algorand/18982/workflows/7b9dc41e-1521-436c-afe2-6d365c07fb57/jobs/277753

Test Plan

Hopes to reduce occasional E2E test failures.

Adds a shellcheck in e2e_subs to CI that would have caught the bug found in #6095 where ${gcmd} was being called without being defined.

algorandskiy
algorandskiy previously approved these changes Aug 28, 2024
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.28%. Comparing base (8e2e2e4) to head (ac00c9d).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6115      +/-   ##
==========================================
+ Coverage   56.22%   56.28%   +0.06%     
==========================================
  Files         490      490              
  Lines       69705    69705              
==========================================
+ Hits        39191    39236      +45     
+ Misses      27840    27802      -38     
+ Partials     2674     2667       -7     

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

@gmalouf
Copy link
Contributor

gmalouf commented Aug 29, 2024

Codegen is also failing on this for what look like actual issues

algorandskiy
algorandskiy previously approved these changes Aug 29, 2024
@cce cce force-pushed the goal-partkey-shell branch from 8147484 to 8925325 Compare August 30, 2024 12:37
@cce cce force-pushed the goal-partkey-shell branch from 24ba9a4 to 227be8c Compare August 30, 2024 12:47
@cce
Copy link
Contributor Author

cce commented Aug 30, 2024

OK, shellcheck found the bug fixed in #6095, so the new reviewdog-shellcheck action LGTM 227be8c

Copy link
Contributor

@ohill ohill left a comment

Choose a reason for hiding this comment

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

👍 Let's remove some of the ignored shellcheck warnings and expand the list of directories it checks later!

@algorandskiy algorandskiy merged commit 81edd96 into algorand:master Aug 30, 2024
19 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.

4 participants