Conversation
…l_rapid, and regional_rapid submodules
…s with full RCU lifecycle
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.
DRAFT: DO NOT REVIEW YET
Description
Implements live cloud integration tests for Test Suite 1: Bidirectional Read targeting Rapid Cache Ultra (RCU) / Rapid Storage in
tests/storage/src/bidi_read.rs.Key Test Cases Added
test_multiple_ranged_read): Tests concurrent downloads across 4 non-overlapping segments (512 KiB total) over an open bidi read session usingtokio::try_join!, verifying chunk data, total length, and CRC32C checksums.test_read_post_stream_close): Verifies stream lifecycle, EOF idempotency (next() == None), and cancellation/abort isolation when dropping an in-flight reader.test_zero_copy_read): Tests zero-copy buffer access usingbytes::Byteschunks across concurrent range readers.test_non_existent_bucket_read): Asserts appropriateNotFoundorPermissionDeniederror status when attempting to open a stream on a non-existent bucket.test_out_of_range): Verifies valid range read on open descriptor, followed by out-of-bounds offset reading returningOUT_OF_RANGE.send,send_and_read,send_and_read_full,send_and_read_md5, andsend_and_read_gziptest cases.GOOGLE_CLOUD_TEST_STORAGE_ENDPOINTsupport to allow targeting preprod or emulator environments.Verification
cargo fmt --all -- --check&rustfmt --edition 2024passed.cargo clippy --package integration-tests-storage --test driver --features run-integration-tests -- -D warningspassed cleanly.cargo test --package google-cloud-storage --test open_object_grpcpassed (4 passed, 0 failed).cargo test --package integration-tests-storage --test driver --features run-integration-tests run_storage_bidipassed against live GCP projectrust-sdk-testing.