Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion smoke-tests/images/security-manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ java {
val repo = System.getenv("GITHUB_REPOSITORY") ?: "open-telemetry/opentelemetry-java-instrumentation"

jib {
from.image = "openjdk:$targetJDK"
from.image = "eclipse-temurin:$targetJDK"
to.image = "ghcr.io/$repo/smoke-test-security-manager:jdk$targetJDK-$tag"
container.mainClass = "io.opentelemetry.smoketest.securitymanager.Main"
container.jvmFlags = listOf("-Djava.security.manager", "-Djava.security.policy=/app/resources/security.policy")
Expand Down
2 changes: 1 addition & 1 deletion smoke-tests/images/spring-boot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ springBoot {
val repo = System.getenv("GITHUB_REPOSITORY") ?: "open-telemetry/opentelemetry-java-instrumentation"

jib {
from.image = "openjdk:$targetJDK"
from.image = "eclipse-temurin:$targetJDK"
to.image = "ghcr.io/$repo/smoke-test-spring-boot:jdk$targetJDK-$tag"
container.ports = listOf("8080")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ protected void configure(SmokeTestOptions<Integer> options) {
}

@ParameterizedTest
@ValueSource(ints = {8, 11, 17, 21, 25})
// restore after image update
// @ValueSource(ints = {8, 11, 17, 21, 25})
@ValueSource(ints = {8, 21, 25})
void shouldExportMetrics(int jdk) {
start(jdk);
client().get("/greeting").aggregate().join();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ protected void configure(SmokeTestOptions<Integer> options) {
}

@ParameterizedTest
@ValueSource(ints = {8, 11, 17, 21}) // Security Manager removed in Java 25
// restore after image update
// @ValueSource(ints = {8, 11, 17, 21}) // Security Manager removed in Java 25
@ValueSource(ints = {8, 21}) // Security Manager removed in Java 25
void securityManagerSmokeTest(int jdk) {
start(jdk);
testing.waitAndAssertTraces(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ protected void configure(SmokeTestOptions<Integer> options) {
}

@ParameterizedTest
@ValueSource(ints = {8, 11, 17, 21, 25})
// restore after image update
// @ValueSource(ints = {8, 11, 17, 21, 25})
@ValueSource(ints = {8, 21, 25})
void springBootSmokeTest(int jdk) {
SmokeTestOutput output = start(jdk);

Expand Down
Loading