Skip to content

Commit dd581e4

Browse files
committed
updating sched api on DaprContainer (dapr#1462)
Signed-off-by: salaboy <[email protected]>
1 parent a19d220 commit dd581e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spring-boot-examples/consumer-app/src/test/java/io/dapr/springboot/examples/consumer/DaprTestContainersConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public DaprContainer daprContainer(Network daprNetwork, RabbitMQContainer rabbit
9797
.withLogConsumer(outputFrame -> System.out.println(outputFrame.getUtf8String()))
9898
.withAppPort(8081).withAppChannelAddress("host.testcontainers.internal")
9999
.withReusablePlacement(reuse)
100+
.withReusableScheduler(reuse)
100101
.withAppHealthCheckPath("/actuator/health")
101102
.dependsOn(rabbitMQContainer);
102103
}

testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public DaprContainer withReusablePlacement(boolean shouldReusePlacement) {
211211
return this;
212212
}
213213

214-
public DaprContainer withReuseScheduler(boolean shouldReuseScheduler) {
214+
public DaprContainer withReusableScheduler(boolean shouldReuseScheduler) {
215215
this.shouldReuseScheduler = shouldReuseScheduler;
216216
return this;
217217
}

0 commit comments

Comments
 (0)