Skip to content

test: improve storage config testing #3485

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

roeap
Copy link
Collaborator

@roeap roeap commented May 28, 2025

Description

On a mission to improve test coverage before the 1.0 release. Starting with storage config and object store registry. Also moving fixtures around a bit preparing for more testing ...

also includes one cargo clippy.

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label May 28, 2025
Copy link

codecov bot commented May 28, 2025

Codecov Report

Attention: Patch coverage is 93.54839% with 6 lines in your changes missing coverage. Please review.

Project coverage is 71.35%. Comparing base (8d8ace1) to head (fb69733).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/logstore/config.rs 96.36% 0 Missing and 2 partials ⚠️
crates/catalog-unity/src/client/retry.rs 0.00% 1 Missing ⚠️
crates/core/src/protocol/checkpoints.rs 0.00% 0 Missing and 1 partial ⚠️
crates/core/src/test_utils/mod.rs 96.77% 1 Missing ⚠️
crates/test/src/utils.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3485      +/-   ##
==========================================
+ Coverage   71.23%   71.35%   +0.11%     
==========================================
  Files         149      149              
  Lines       44862    44932      +70     
  Branches    44862    44932      +70     
==========================================
+ Hits        31959    32061     +102     
+ Misses      10822    10798      -24     
+ Partials     2081     2073       -8     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roeap roeap force-pushed the test/extend-testing branch 3 times, most recently from cd46235 to 61e6cb6 Compare May 28, 2025 13:18
@@ -95,6 +95,7 @@ maplit = "1"
sqlparser = { version = "0.56.0" }
humantime = { version = "2.1.0" }
validator = { version = "0.19", features = ["derive"] }
rstest = { version = "0.25.0", optional = true }
Copy link
Member

Choose a reason for hiding this comment

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

I'm not seeing a reason why this doesn't just get put into the [dev-dependencies] section, was there something that broke when that was done?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I could revert this - the main thing is that we can export it under the integration_test feature, and use it in other crates.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

but turns out the way we are using it, it does no longer need to be a fixture ... will remove that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

gone

@roeap roeap force-pushed the test/extend-testing branch from 61e6cb6 to fb69733 Compare May 28, 2025 13:28
@roeap roeap enabled auto-merge May 28, 2025 13:45
@roeap roeap added this pull request to the merge queue May 28, 2025
Merged via the queue into delta-io:main with commit fbdcc34 May 28, 2025
22 checks passed
@roeap roeap deleted the test/extend-testing branch May 28, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants