test(compat): take the partition and region from TestFixtures in five more suites (#5025)

Second batch of the cn-north-1 allowlist burn-down (#4272). These tests pinned
the commercial partition, so they failed against a China deployment for the
test's own reasons, not Floci's:

- AppSyncTest asserted the arn:aws:appsync: prefix on four ARNs.
- Ec2DescribeSpotPriceHistoryTest filtered on us-east-1a and us-east-1b.
- PipesTest built its role, SQS and Kinesis ARNs in arn:aws and us-east-1.
- IamTest looked its user up by an arn:aws ARN; its AWS managed-policy prefix
  and the SimulatePrincipalPolicy source now follow the partition too.
- CloudWatchLogsMetricFilterTest replaced the recorded @aws.region dimension
  with us-east-1, and MetricFilterQueryAssertions signed its Query request for
  us-east-1, so it read another region's metrics.

All now derive the partition and region from TestFixtures. The allowlist drops
19 entries, from 73 to 54.
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-10-03 15:54:55 -04:00
1 parent 32f2788c9c
commit dfe2117fed
7 files changed
+26 -43

No files matched your search

@@ -16,10 +16,6 @@ ApiGatewayOpenApiImportCompatibilityTest#sdkImportAndPutResolveAwsVariables
ApiGatewayV2ManagementTest#createApi
ApiGatewayV2WebSocketAndExtendedOpsTest#getTagsEmpty
ApiGatewayV2WebSocketAndExtendedOpsTest#tagging
AppSyncTest#createDataSource_hasDataSourceArn
AppSyncTest#createFunction_hasFunctionArn
AppSyncTest#createGraphqlApi
AppSyncTest#createResolver_hasResolverArn
AthenaTest#listTagsForResourceReturnsTagsSetOnCreation
CloudFormationAcmCertificateTest#certificateOptionsFollowTheTemplateThroughCreateAndUpdate
CloudFormationEventBusTest#createsValidatesUpdatesAndDeletesEventBusThroughAwsSdk
@@ -31,33 +27,18 @@ CloudHsmV2Test#testFullLifecycle
CloudTrailTest#describeTrailsByName
CloudWatchLogsCrossAccountPolicyTest#destinationAndAccountPolicyOperationsUseAwsSdk
CloudWatchLogsDescribeLogGroupsTest#returnsAwsLogGroupArnFields
CloudWatchLogsMetricFilterTest#quietDefaultsDriveASumAlarmWithoutLaterIngestion
CloudWatchLogsMetricFilterTest#recordedDefaultsAndQuietTrafficReadIdenticallyOverJsonAndQuery
CloudWatchLogsMetricFilterTest#recordedExtractionAndOrdinaryDimensionSeriesReadIdenticallyOverJsonAndQuery
CloudWatchLogsMetricFilterTest#recordedSystemDimensionsDoNotAttachToPatternNonmatchDefaults
CodeDeployTest#tagAndListTags
CodeDeployTest#untagResource
DmsTest#replicationSubnetGroupLifecycleUsesAwsSdkWireContract
Ec2DescribeSpotPriceHistoryTest#describeSpotPriceHistoryFiltersByInstanceTypeAvailabilityZoneAndProductDescription
Ec2DescribeSpotPriceHistoryTest#describeSpotPriceHistoryFiltersUsingGenericFilters
Ec2DescribeSpotPriceHistoryTest#describeSpotPriceHistoryPriceIsBelowOnDemandAndMonotonicWithCapacity
Ec2DescribeSpotPriceHistoryTest#describeSpotPriceHistoryReturnsPricesForWindowsPlatform
Ec2DescribeSpotPriceHistoryTest#describeSpotPriceHistoryReturnsStableIdenticalPrices
EcrTest#createRepository
EksTest#fargateProfileLifecycle
GlueCatalogTest#createDatabaseWithTags_tagsReturnedByResourceGroupsTaggingApi
GuardDutyTest#detectorLifecycleUsesAwsSdkWireShapes
IamTest#generateAndGetServiceLastAccessedDetails
IamTest#getServiceLastAccessedDetailsWithEntitiesDescribesReachingEntities
IamTest#listPoliciesGrantingServiceAccessEchoesEachRequestedNamespace
IotTest#domainConfigurationLifecycle
MacieOrganizationAdministrationTest#organizationAdministrationUsesAwsSdk
NeptuneTest#createCluster
NeptuneTest#createInstance
OrganizationsTest#testFullLifecycle
PipesTest#batchSizeInSourceParameters
PipesTest#filterCriteriaFiltersMessages
PipesTest#sqsToSqsForwarding
RdsIamTokenCompatTest#sdkGeneratedTokenIsAccepted
RdsJdbcCompatTest#connectWithIamAuthToken
RdsJdbcCompatTest#modifyKeepsProxyReachableAndDeleteReleasesPort