Fix test for latest version of AWS SDK (#1878)
This commit is contained in:
parent
1f25259f47
commit
c0f9daf0bb
|
@ -67,6 +67,10 @@ dependencies {
|
||||||
test_before_1_11_106Implementation(group: 'com.amazonaws', name: 'aws-java-sdk-dynamodb', version: '1.11.0')
|
test_before_1_11_106Implementation(group: 'com.amazonaws', name: 'aws-java-sdk-dynamodb', version: '1.11.0')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
systemProperty "testLatestDeps", testLatestDeps
|
||||||
|
}
|
||||||
|
|
||||||
if (!testLatestDeps) {
|
if (!testLatestDeps) {
|
||||||
test.dependsOn test_before_1_11_106
|
test.dependsOn test_before_1_11_106
|
||||||
}
|
}
|
||||||
|
|
|
@ -190,7 +190,7 @@ class Aws1ClientTest extends AgentTestRunner {
|
||||||
<domain>standard</domain>
|
<domain>standard</domain>
|
||||||
</AllocateAddressResponse>
|
</AllocateAddressResponse>
|
||||||
"""
|
"""
|
||||||
"RDS" | "DeleteOptionGroup" | "POST" | "/" | 5 | AmazonRDSClientBuilder.standard().withEndpointConfiguration(endpoint).withCredentials(credentialsProvider).build() | { client -> client.deleteOptionGroup(new DeleteOptionGroupRequest()) } | [:] | """
|
"RDS" | "DeleteOptionGroup" | "POST" | "/" | (Boolean.getBoolean("testLatestDeps") ? 6 : 5) | AmazonRDSClientBuilder.standard().withEndpointConfiguration(endpoint).withCredentials(credentialsProvider).build() | { client -> client.deleteOptionGroup(new DeleteOptionGroupRequest()) } | [:] | """
|
||||||
<DeleteOptionGroupResponse xmlns="http://rds.amazonaws.com/doc/2014-09-01/">
|
<DeleteOptionGroupResponse xmlns="http://rds.amazonaws.com/doc/2014-09-01/">
|
||||||
<ResponseMetadata>
|
<ResponseMetadata>
|
||||||
<RequestId>0ac9cda2-bbf4-11d3-f92b-31fa5e8dbc99</RequestId>
|
<RequestId>0ac9cda2-bbf4-11d3-f92b-31fa5e8dbc99</RequestId>
|
||||||
|
|
Loading…
Reference in New Issue