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: Fix catchpoint catchup tests to use relay for catchup #5507

Merged
merged 1 commit into from Jun 28, 2023

Conversation

Eric-Warehime
Copy link
Contributor

@Eric-Warehime Eric-Warehime commented Jun 28, 2023

Summary

Fixes nightly test failures for these tests. They are all running the same copy/pasted code so the fix is identical.

They were previously trying to use catchpoint catchup where the two nodes in the network were generating catchpoints, but the relay was not. This won't ever work since the ledger request always uses relays as its peer list and cycles through those.

It previously passed because the catchpoint service returned 200 on starting up, but with e96d104 we now do validation via a HEAD request before returning success on catchpoint service startup.

Test Plan

Tests pass locally--Nightly run is https://app.circleci.com/pipelines/github/algorand/go-algorand/15279/workflows/03a01ff7-4437-46c8-a723-3a4957966f94

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #5507 (4312c2f) into master (74b5f19) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5507      +/-   ##
==========================================
- Coverage   55.83%   55.80%   -0.03%     
==========================================
  Files         446      446              
  Lines       63223    63223              
==========================================
- Hits        35299    35282      -17     
- Misses      25561    25573      +12     
- Partials     2363     2368       +5     

see 10 files with indirect coverage changes

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

Copy link
Contributor

@ahangsu ahangsu left a comment

Choose a reason for hiding this comment

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

looks right, waiting on a nightly build validation

@algorandskiy algorandskiy merged commit 533507a into algorand:master Jun 28, 2023
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.

None yet

3 participants