updating sched api on DaprContainer (#1462)

Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: sirivarma <siri.varma@outlook.com>
This commit is contained in:
salaboy 2025-07-22 13:00:49 +01:00 committed by sirivarma
parent e3fcacc811
commit 24430581b6
2 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ public class DaprTestContainersConfig {
.withLogConsumer(outputFrame -> System.out.println(outputFrame.getUtf8String()))
.withAppPort(8081).withAppChannelAddress("host.testcontainers.internal")
.withReusablePlacement(reuse)
.withReusableScheduler(reuse)
.withAppHealthCheckPath("/actuator/health")
.dependsOn(rabbitMQContainer);
}

View File

@ -193,7 +193,7 @@ public class DaprContainer extends GenericContainer<DaprContainer> {
return this;
}
public DaprContainer withReuseScheduler(boolean shouldReuseScheduler) {
public DaprContainer withReusableScheduler(boolean shouldReuseScheduler) {
this.shouldReuseScheduler = shouldReuseScheduler;
return this;
}