diff --git a/aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray/AwsXrayRemoteSamplerIntegrationTest.java b/aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray/AwsXrayRemoteSamplerIntegrationTest.java index bf922271c..cceeb8be2 100644 --- a/aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray/AwsXrayRemoteSamplerIntegrationTest.java +++ b/aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray/AwsXrayRemoteSamplerIntegrationTest.java @@ -39,7 +39,9 @@ class AwsXrayRemoteSamplerIntegrationTest { @Container private static final GenericContainer otelCollector = - new GenericContainer<>(DockerImageName.parse("otel/opentelemetry-collector-contrib:0.136.0")) + new GenericContainer<>( + DockerImageName.parse( + "otel/opentelemetry-collector-contrib:0.136.0@sha256:45392d534c1edcc809c2d112394029246bc679d2ae5ea7081414a1fc74f2c621")) .withExposedPorts(13133, 2000) .waitingFor(Wait.forHttp("/").forPort(13133)) .withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger("otel-collector")))