mirror of https://github.com/dapr/java-sdk.git
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:
parent
e3fcacc811
commit
24430581b6
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue