chore(docdb): upgrade integ tests to engine 8.0.0 and add serverless region constraints#37059
Open
aemada-aws wants to merge 1 commit intomainfrom
Open
chore(docdb): upgrade integ tests to engine 8.0.0 and add serverless region constraints#37059aemada-aws wants to merge 1 commit intomainfrom
aemada-aws wants to merge 1 commit intomainfrom
Conversation
Contributor
|
|
||||||||||||||
Contributor
|
|
||||||||||||||
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.
Issue # (if applicable)
N/A
Reason for this change
Four
aws-docdbintegration tests were failing due to region-incompatible engine versions:3.6.0, which is not available in all regions (e.g.,eu-north-1only supports4.0.0+). Errors:Resource handler returned message: "Internal Failure"Cannot find version 3.6.0 for docdbdb.serverless) is not available in all regions (e.g.,eu-north-1). Error:The request includes a Serverless v2 ScalingConfiguration attribute, which isn't available for the engine version of your cluster (5.0.0)Additionally, DocumentDB 3.6.0 standard support ends March 30, 2026, making the version upgrade timely.
Description of changes
Provisioned cluster tests (
integ.cluster,integ.cluster-copy-tags-to-snapshot,integ.cluster-removal-policy-snapshot):3.6.0→8.0.0(latest, available in all DocDB regions)docdb3.6→docdb8.08.0.0is universally availableIntegTestwrapper tointeg.cluster.ts(previously used bareapp.synth())Serverless test (
integ.cluster-serverless):IntegTest.regions(serverless only supports5.0.0and is not available ineu-north-1)New shared constants file (
docdb-integ-test-constraints.ts):DOCDB_ENGINE_VERSION/DOCDB_PARAMETER_GROUP_FAMILYfor provisioned testsDOCDB_SERVERLESS_ENGINE_VERSION/DOCDB_SERVERLESS_SUPPORTED_REGIONSfor serverless testDescribe any new or updated permissions being added
N/A
Description of how you validated changes
All 4 tests deployed and destroyed successfully:
Results: Tests: 4 passed, 4 total
3.6.0to8.0.0requires cluster replacement. This is intentional.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license