Skip to content

Commit 2443058

Browse files
salaboysiri-varma
authored andcommitted
updating sched api on DaprContainer (dapr#1462)
Signed-off-by: salaboy <[email protected]> Signed-off-by: sirivarma <[email protected]>
1 parent e3fcacc commit 2443058

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
@@ -193,7 +193,7 @@ public DaprContainer withReusablePlacement(boolean shouldReusePlacement) {
193193
return this;
194194
}
195195

196-
public DaprContainer withReuseScheduler(boolean shouldReuseScheduler) {
196+
public DaprContainer withReusableScheduler(boolean shouldReuseScheduler) {
197197
this.shouldReuseScheduler = shouldReuseScheduler;
198198
return this;
199199
}

0 commit comments

Comments
 (0)