Open saig0 opened 1 day ago
Pin the version of gRPC in the pom.xml
to 1.68.0
:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>1.68.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Description
ZPT in version 8.6.4 is broken. If I use the injected client to send a command, it reports the following error:
The root cause is a dependency issue between the ZPT test engine and the Zeebe client.
The mismatch of the gRPC version causes the issue.
Expected behaviour
I can use the injected client to send commands.
Reproduction steps
Test code
``` @ZeebeProcessTest class ZeebeProcessTestApplicationTests { private ZeebeTestEngine engine; private ZeebeClient client; private RecordStream recordStream; @Test void testDeployment() throws Exception { DeploymentEvent event = client .newDeployResourceCommand() .addResourceFromClasspath("testDateRule.dmn") .addResourceFromClasspath("sampleProcess.bpmn") .send() .join(); // <-- fails here } } ```Environment