1919
2020import com .linecorp .armeria .client .WebClient ;
2121import java .util .regex .Pattern ;
22- import org .junit .jupiter .api .Disabled ;
2322import org .junit .jupiter .api .Test ;
2423import org .slf4j .LoggerFactory ;
2524import org .testcontainers .containers .GenericContainer ;
2928import org .testcontainers .junit .jupiter .Testcontainers ;
3029import org .testcontainers .utility .MountableFile ;
3130
32- // Temporarily disable to work around chicken-egg ordering constraint in building new sample image
33- // and using here.
34- // Will need to fix the dependency in the future (though with opentelemetry-api in its final form
35- // now there is
36- // less likeliness of issues happening).
37- @ Disabled
3831@ Testcontainers (disabledWithoutDocker = true )
3932class LogInjectionTest {
4033
@@ -47,7 +40,7 @@ class LogInjectionTest {
4740 @ Container
4841 private static final GenericContainer <?> log4jApp =
4942 new GenericContainer <>(
50- "public.ecr.aws/aws-otel-test/aws-otel-java-spark:f8f1ee321a1dc7f306f8354aca357ecbedfe8133 " )
43+ "public.ecr.aws/aws-otel-test/aws-otel-java-spark:ae69a3fef3274282bc4e125d12e874d9330085d4 " )
5144 .withExposedPorts (4567 )
5245 .withLogConsumer (new Slf4jLogConsumer (LoggerFactory .getLogger ("log4j" )))
5346 .withLogConsumer (log4jString )
@@ -61,7 +54,7 @@ class LogInjectionTest {
6154 @ Container
6255 private static final GenericContainer <?> logbackApp =
6356 new GenericContainer <>(
64- "public.ecr.aws/aws-otel-test/aws-otel-java-springboot:f8f1ee321a1dc7f306f8354aca357ecbedfe8133 " )
57+ "public.ecr.aws/aws-otel-test/aws-otel-java-springboot:ae69a3fef3274282bc4e125d12e874d9330085d4 " )
6558 .withExposedPorts (8080 )
6659 .withLogConsumer (new Slf4jLogConsumer (LoggerFactory .getLogger ("logback" )))
6760 .withLogConsumer (logbackString )
0 commit comments