use of io.camunda.zeebe.process.test.engine.protocol.EngineControlOuterClass.WaitForIdleStateRequest in project zeebe-process-test by camunda-cloud.
the class ContainerizedEngine method waitForIdleState.
@Override
public void waitForIdleState(final Duration timeout) {
final ManagedChannel channel = getChannel();
final EngineControlBlockingStub stub = getStub(channel);
final WaitForIdleStateRequest request = WaitForIdleStateRequest.newBuilder().setTimeout(timeout.toMillis()).build();
stub.waitForIdleState(request);
closeChannel(channel);
}
use of io.camunda.zeebe.process.test.engine.protocol.EngineControlOuterClass.WaitForIdleStateRequest in project zeebe-process-test by camunda.
the class ContainerizedEngine method waitForIdleState.
@Override
public void waitForIdleState(final Duration timeout) {
final ManagedChannel channel = getChannel();
final EngineControlBlockingStub stub = getStub(channel);
final WaitForIdleStateRequest request = WaitForIdleStateRequest.newBuilder().setTimeout(timeout.toMillis()).build();
stub.waitForIdleState(request);
closeChannel(channel);
}
Aggregations