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

Retry RPC commands to try to fix MacOS CI jobs #5120

Merged
merged 5 commits into from
Sep 11, 2024

Conversation

ximinez
Copy link
Collaborator

@ximinez ximinez commented Sep 6, 2024

High Level Overview of Change

Retries failed RPC connection timeouts up to 3 times, unless the test is expecting a timeout. Geared toward fixing MacOS test run failures.

Also remove an orphaned free function: getAccounts.

Context of Change

MacOS CI jobs have been failing spuriously for a while due to timeouts. This seems to resolve the issue.

Type of Change

  • Tests (you added tests for code that already exists, or your new feature included in this PR)

API Impact

None

@ximinez ximinez added CI Continuous Integration Functionality Perf impact not expected Change is not expected to improve nor harm performance. labels Sep 6, 2024
@ximinez ximinez changed the title Pr/retry rpc Retry RPC commands to try to fix MacOS CI jobs Sep 6, 2024
Copy link
Contributor

@HowardHinnant HowardHinnant left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Collaborator

@Bronek Bronek left a comment

Choose a reason for hiding this comment

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

LGTM

@ximinez ximinez added the Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. label Sep 11, 2024
* upstream/develop:
  Update Release Notes for 2.2.1 and 2.2.2
  Set version to 2.2.2
  Allow only 1 job queue slot for each validation ledger check
  Allow only 1 job queue slot for acquiring inbound ledger.
  Track latencies of certain code blocks, and log if they take too long
@ximinez ximinez removed the Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. label Sep 11, 2024
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.1%. Comparing base (cc0177b) to head (305ca97).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #5120   +/-   ##
=======================================
  Coverage     76.1%   76.1%           
=======================================
  Files          760     760           
  Lines        61556   61548    -8     
  Branches      8167    8159    -8     
=======================================
+ Hits         46835   46836    +1     
+ Misses       14721   14712    -9     
Files with missing lines Coverage Δ
src/xrpld/app/misc/NetworkOPs.cpp 68.3% <ø> (+0.3%) ⬆️

... and 3 files with indirect coverage changes

Impacted file tree graph

@ximinez ximinez added the Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. label Sep 11, 2024
@ximinez ximinez merged commit 23991c9 into XRPLF:develop Sep 11, 2024
20 checks passed
@ximinez ximinez deleted the pr/retry_rpc branch September 11, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Functionality Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. Perf impact not expected Change is not expected to improve nor harm performance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants