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: expected reward cycle in integration test for pox info #4488

Merged
merged 1 commit into from Mar 5, 2024

Conversation

hstove
Copy link
Contributor

@hstove hstove commented Mar 5, 2024

The neon_integrations::pox_integration_test has been failing CI pretty consistently (but not 100%?), such as in this build: https://github.com/stacks-network/stacks-core/actions/runs/8161203003/job/22313964190?pr=4461

This changes the test to not use hard-coded reward cycles that are expected, and instead to calculate the reward cycle from the current burnchain height.

@hstove hstove requested review from obycode and kantai March 5, 2024 20:54
Copy link
Member

@kantai kantai left a comment

Choose a reason for hiding this comment

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

LGTM -- thanks for this -- my PR that changed pox info RPC handling must have started tripping this up

Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

lgtm! 👍

@hstove hstove added this pull request to the merge queue Mar 5, 2024
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.21%. Comparing base (0b34e09) to head (1c5764e).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #4488      +/-   ##
==========================================
- Coverage   82.95%   77.21%   -5.74%     
==========================================
  Files         451      451              
  Lines      324490   324497       +7     
  Branches      318      318              
==========================================
- Hits       269169   250561   -18608     
- Misses      55313    73928   +18615     
  Partials        8        8              
Files Coverage Δ
testnet/stacks-node/src/tests/neon_integrations.rs 52.69% <100.00%> (-13.25%) ⬇️

... and 175 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b34e09...1c5764e. Read the comment docs.

Merged via the queue into next with commit bf5a833 Mar 5, 2024
1 of 2 checks passed
@hstove hstove deleted the fix/pox-info-test branch March 5, 2024 23:03
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.

None yet

3 participants