Skip to content

Commit b4972d2

Browse files
committed
fix integration test
1 parent 6708eb4 commit b4972d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dd-java-agent/instrumentation/aws-java-dynamodb-2.0/src/test/groovy/DynamoDbClientTest.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import datadog.trace.core.tagprocessor.SpanPointersProcessor
44
import groovy.json.JsonSlurper
55
import org.testcontainers.containers.GenericContainer
66
import org.testcontainers.utility.DockerImageName
7+
import software.amazon.awssdk.regions.Region
78
import software.amazon.awssdk.services.dynamodb.DynamoDbClient
89
import software.amazon.awssdk.services.dynamodb.model.AttributeAction
910
import 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

0 commit comments

Comments
 (0)