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

Enable DB tests via ScyllaDB service #1103

Merged
merged 4 commits into from
Jan 15, 2024

Conversation

godexsoft
Copy link
Collaborator

@godexsoft godexsoft commented Jan 12, 2024

This adds backend tests to CI. Currently only for the one place where we upload code coverage stats.
This could be extended to Nightly builds with similar changes but i'm not sure if we need it there.
The way we pass the hostname for ScyllaDB is by using a custom arg to clio_tests called --backend_host. This gets parsed into TestGlobals and is later propagated to all places where we need this host. The host itself is set to scylladb because the database is running as a service (see the doc) and so we can leverage bridge networks instead of port forwarding.

Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ce86572) 54.75% compared to head (4b2c8da) 59.66%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1103      +/-   ##
===========================================
+ Coverage    54.75%   59.66%   +4.90%     
===========================================
  Files          206      206              
  Lines        10479    10479              
  Branches      5585     5585              
===========================================
+ Hits          5738     6252     +514     
+ Misses        3416     2639     -777     
- Partials      1325     1588     +263     

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

Copy link
Collaborator

@cindyyan317 cindyyan317 left a comment

Choose a reason for hiding this comment

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

LGTM

@godexsoft godexsoft merged commit 13d2d4e into XRPLF:develop Jan 15, 2024
8 checks passed
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.

2 participants