Skip to content

test(storage): Parameterized test setup for RCU integration testing - #14530

Open
nidhiii-27 wants to merge 3 commits into
mainfrom
feat/storage-runner-rcu-parameterized-setup
Open

nidhiii-27 wants to merge 3 commits into
mainfrom
feat/storage-runner-rcu-parameterized-setup

Conversation

@nidhiii-27

@nidhiii-27 nidhiii-27 commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Adds location-based parameterization and backend setup to StorageITRunner for Rapid Cache Ultra (RCU) integration testing:

  • LocationType Parameterization: Adds LocationType (US_MULTI_REGIONAL, REGIONAL_RAPID, ZONAL_RAPID) to @CrossRun, @CrossRun.Exclude, @CrossRun.Ignore, @SingleBackend, and StorageITRunner, combining class- and method-level ignore/exclude rules.
  • Dynamic Bucket & RapidCache Lifecycle: Adds DynamicBucketLifecycle in BackendResources and RapidCache provisioning/teardown in BucketInfoShim, along with PREPROD backend support.
  • Custom Service Path Handling (HttpStorageRpc): Supports custom /storage/v1* service paths (e.g., /storage/v1_preprod/) while preserving existing rootUrl behavior for proxy paths (HttpStorageRpcUriTest).

- Add LocationType enum and integrate with CrossRun / SingleBackend annotations and CrossRunIntersection
- Update StorageITRunner to support location-based parameterized permutations
- Add PREPROD backend resources and dynamic bucket lifecycle management in BackendResources
- Add RapidCache lifecycle support and cleanup in BucketInfoShim
- Update HttpStorageRpc to properly handle custom subpaths in endpoint URIs
- Add unit tests for HttpStorageRpc endpoint URI handling

[Generated-by: AI]

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for a new PREPROD backend and adds a LocationType enum to support regional standard, regional rapid, and zonal rapid bucket topologies in integration tests. It also updates HttpStorageRpc to parse custom hosts with subpaths into distinct root URLs and service paths. The review feedback highlights two key improvements: first, using uri.getRawPath() instead of uri.getPath() in HttpStorageRpc to avoid potential StringIndexOutOfBoundsException issues with percent-encoded characters; second, overriding the target region and zone for ZONAL_RAPID buckets (similar to REGIONAL_RAPID) to prevent test failures in zones that do not support the rapid cache storage class.

@nidhiii-27 nidhiii-27 added the ai-generated Pull Request generated by AI label Sep 28, 2026
@nidhiii-27
nidhiii-27 added this pull request to stack #14532 September 28, 2026 10:56
@nidhiii-27
nidhiii-27 marked this pull request as ready for review September 29, 2026 10:09
@nidhiii-27
nidhiii-27 requested review from a team as code owners September 29, 2026 10:09
…cation

1. Use uri.getRawPath() in HttpStorageRpc to handle raw percent-encoded URI paths.
2. Include LocationType.ZONAL_RAPID when configuring target region/zone for RCU buckets.

[Generated-by: AI]
@nidhiii-27
nidhiii-27 requested a review from Dhriti07 October 26, 2026 12:48
@nidhiii-27
nidhiii-27 requested a review from Dhriti07 November 3, 2026 11:04
@nidhiii-27 nidhiii-27 changed the title test(storage): Parameterized test setup for RCU Integration Testing test(storage): Parameterized test setup for RCU integration testing Nov 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Pull Request generated by AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants