[rust][tests] Add DynamicWriteBatchSizeEstimator integration tests#3588
Open
Prajwal-banakar wants to merge 3 commits into
Open
[rust][tests] Add DynamicWriteBatchSizeEstimator integration tests#3588Prajwal-banakar wants to merge 3 commits into
Prajwal-banakar wants to merge 3 commits into
Conversation
…t-integration-tests # Conflicts: # fluss-rust/crates/fluss/src/client/connection.rs
Contributor
Author
|
Hi @fresh-borzoni @charlesdong1991 i've moved this Pull Request from fluss-rust repo to here by addressing review comments, PTAL. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #fluss-rust/issues/539
Adds integration tests for DynamicWriteBatchSizeEstimator to verify end-to-end behavior through a real cluster. These tests exercise the estimator's adaptation logic — not just data integrity — by exposing the current estimated batch size via a feature-gated accessor.
Brief change log
Tests
cargo fmt --all
cargo clippy --all-targets --fix --allow-dirty --allow-staged - BUILD SUCCESS
cargo build --features integration_tests - BUILD SUCCESS
cargo test --workspace - BUILD SUCCESS
cargo test --features integration_tests --workspace - BUILD SUCCESS
API and Format
No changes to public API or storage format.
Documentation
No new feature introduced. This PR only adds integration tests for an existing feature