use of io.camunda.zeebe.process.test.engine.protocol.EngineControlOuterClass.ResetEngineRequest in project zeebe-process-test by camunda.
the class ContainerizedEngine method reset.
/**
* Reset the test engine. A reset stops the current engine, and replaces it with a new engine.
* Note that you'll need to redeploy your processes because it is an entirely new engine.
*/
public void reset() {
final ManagedChannel channel = getChannel();
final EngineControlBlockingStub stub = getStub(channel);
final ResetEngineRequest request = ResetEngineRequest.newBuilder().build();
stub.resetEngine(request);
closeChannel(channel);
}
use of io.camunda.zeebe.process.test.engine.protocol.EngineControlOuterClass.ResetEngineRequest in project zeebe-process-test by camunda-cloud.
the class ContainerizedEngine method reset.
/**
* Reset the test engine. A reset stops the current engine, and replaces it with a new engine.
* Note that you'll need to redeploy your processes because it is an entirely new engine.
*/
public void reset() {
final ManagedChannel channel = getChannel();
final EngineControlBlockingStub stub = getStub(channel);
final ResetEngineRequest request = ResetEngineRequest.newBuilder().build();
stub.resetEngine(request);
closeChannel(channel);
}
Aggregations