Skip to content

Commit 255107c

Browse files
committed
Update container image
Signed-off-by: Matheus Cruz <[email protected]>
1 parent 9241389 commit 255107c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

sdk-tests/src/test/java/io/dapr/it/testcontainers/workflows/multiapp/WorkflowsMultiAppCallActivityIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public class WorkflowsMultiAppCallActivityIT {
112112

113113
// TestContainers for each app
114114
@Container
115-
private static GenericContainer<?> multiappWorker = new GenericContainer<>("openjdk:17-jdk-slim")
115+
private static GenericContainer<?> multiappWorker = new GenericContainer<>("eclipse-temurin:17-jdk-jammy")
116116
.withCopyFileToContainer(MountableFile.forHostPath("target"), "/app")
117117
.withWorkingDirectory("/app")
118118
.withCommand("java", "-cp", "test-classes:classes:dependency/*:*",
@@ -126,7 +126,7 @@ public class WorkflowsMultiAppCallActivityIT {
126126
.withLogConsumer(outputFrame -> System.out.println("MultiAppWorker: " + outputFrame.getUtf8String()));
127127

128128
@Container
129-
private final static GenericContainer<?> app2Worker = new GenericContainer<>("openjdk:17-jdk-slim")
129+
private final static GenericContainer<?> app2Worker = new GenericContainer<>("eclipse-temurin:17-jdk-jammy")
130130
.withCopyFileToContainer(MountableFile.forHostPath("target"), "/app")
131131
.withWorkingDirectory("/app")
132132
.withCommand("java", "-cp", "test-classes:classes:dependency/*:*",
@@ -140,7 +140,7 @@ public class WorkflowsMultiAppCallActivityIT {
140140
.withLogConsumer(outputFrame -> System.out.println("App2Worker: " + outputFrame.getUtf8String()));
141141

142142
@Container
143-
private final static GenericContainer<?> app3Worker = new GenericContainer<>("openjdk:17-jdk-slim")
143+
private final static GenericContainer<?> app3Worker = new GenericContainer<>("eclipse-temurin:17-jdk-jammy")
144144
.withCopyFileToContainer(MountableFile.forHostPath("target"), "/app")
145145
.withWorkingDirectory("/app")
146146
.withCommand("java", "-cp", "test-classes:classes:dependency/*:*",

spring-boot-examples/workflows/multi-app/orchestrator/src/test/java/io/dapr/springboot/examples/orchestrator/DaprTestContainersConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public GenericContainer<?> workerOneContainer(Network daprNetwork,
123123
@Qualifier("workerOneDapr") DaprContainer workerOneDapr,
124124
DaprPlacementContainer daprPlacementContainer,
125125
DaprSchedulerContainer daprSchedulerContainer){
126-
return new GenericContainer<>("openjdk:17-jdk-slim")
126+
return new GenericContainer<>("eclipse-temurin:17-jdk-jammy")
127127
.withCopyFileToContainer(MountableFile.forHostPath("../worker-one/target"), "/app")
128128
.withWorkingDirectory("/app")
129129
.withCommand("java",
@@ -165,7 +165,7 @@ public GenericContainer<?> workerTwoContainer(Network daprNetwork,
165165
@Qualifier("workerTwoDapr") DaprContainer workerTwoDapr,
166166
DaprPlacementContainer daprPlacementContainer,
167167
DaprSchedulerContainer daprSchedulerContainer){
168-
return new GenericContainer<>("openjdk:17-jdk-slim")
168+
return new GenericContainer<>("eclipse-temurin:17-jdk-jammy")
169169
.withCopyFileToContainer(MountableFile.forHostPath("../worker-two/target"), "/app")
170170
.withWorkingDirectory("/app")
171171
.withCommand("java",

spring-boot-examples/workflows/multi-app/orchestrator/src/test/java/io/dapr/springboot/examples/orchestrator/OrchestratorAppIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
import static io.restassured.RestAssured.given;
2626
import static org.awaitility.Awaitility.await;
27-
import static org.hamcrest.CoreMatchers.is;
28-
import static org.junit.jupiter.api.Assertions.assertEquals;
2927
import static org.junit.jupiter.api.Assertions.assertTrue;
3028

3129
@SpringBootTest(classes = {TestOrchestratorApplication.class, DaprTestContainersConfig.class, CustomersRestController.class},

0 commit comments

Comments
 (0)