Skip to content

Commit 623650f

Browse files
author
Anuraag Agrawal
authored
Reenable log injection test (#139)
1 parent ae69a3f commit 623650f

File tree

1 file changed

+2
-9
lines changed
  • smoke-tests/runner/src/test/java/io/awsobservability/instrumentation/smoketests/runner

1 file changed

+2
-9
lines changed

smoke-tests/runner/src/test/java/io/awsobservability/instrumentation/smoketests/runner/LogInjectionTest.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import com.linecorp.armeria.client.WebClient;
2121
import java.util.regex.Pattern;
22-
import org.junit.jupiter.api.Disabled;
2322
import org.junit.jupiter.api.Test;
2423
import org.slf4j.LoggerFactory;
2524
import org.testcontainers.containers.GenericContainer;
@@ -29,12 +28,6 @@
2928
import org.testcontainers.junit.jupiter.Testcontainers;
3029
import 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)
3932
class 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

Comments
 (0)