File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
dd-java-agent/instrumentation/aws-java-dynamodb-2.0/src/test/groovy Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import datadog.trace.core.tagprocessor.SpanPointersProcessor
44import groovy.json.JsonSlurper
55import org.testcontainers.containers.GenericContainer
66import org.testcontainers.utility.DockerImageName
7+ import software.amazon.awssdk.regions.Region
78import software.amazon.awssdk.services.dynamodb.DynamoDbClient
89import software.amazon.awssdk.services.dynamodb.model.AttributeAction
910import software.amazon.awssdk.services.dynamodb.model.AttributeDefinition
@@ -43,6 +44,7 @@ class DynamoDbClientTest extends AgentTestRunner {
4344 def endPoint = " http://" + LOCALSTACK . getHost() + " :" + LOCALSTACK . getMappedPort(4566 )
4445 dynamoDbClient = DynamoDbClient . builder()
4546 .endpointOverride(URI . create(endPoint))
47+ .region(Region . US_EAST_1 )
4648 .build()
4749
4850 // Create test tables
You can’t perform that action at this time.
0 commit comments