@@ -290,6 +290,7 @@ func TestCreateInstanceOperation(t *testing.T) {
290290 flow .New (t , "Test create instance operation (async)" ).
291291 Step (dockercompose .Run ("zeebe" , zeebe_test .DockerComposeYaml )).
292292 Step ("Waiting for Zeebe Readiness..." , retry .Do (time .Second * 3 , 10 , zeebe_test .CheckZeebeConnection )).
293+ Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (0 ))).
293294 Step (sidecar .Run (zeebe_test .SidecarName ,
294295 append (componentRuntimeOptions (),
295296 embedded .WithAppProtocol (protocol .HTTPProtocol , strconv .Itoa (appPort )),
@@ -298,7 +299,6 @@ func TestCreateInstanceOperation(t *testing.T) {
298299 embedded .WithResourcesPath ("components/standard" ),
299300 )... ,
300301 )).
301- Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (0 ))).
302302 Step ("Waiting for the component to start" , flow .Sleep (10 * time .Second )).
303303 Step ("Deploy process in version 1" , deployVersion1 ).
304304 Step ("Deploy process in version 2" , deployVersion2 ).
@@ -314,6 +314,7 @@ func TestCreateInstanceOperation(t *testing.T) {
314314 flow .New (t , "Test create instance operation (sync)" ).
315315 Step (dockercompose .Run ("zeebe" , zeebe_test .DockerComposeYaml )).
316316 Step ("Waiting for Zeebe Readiness..." , retry .Do (time .Second * 3 , 10 , zeebe_test .CheckZeebeConnection )).
317+ Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (20 * time .Second ))).
317318 Step (sidecar .Run (zeebe_test .SidecarName ,
318319 append (componentRuntimeOptions (),
319320 embedded .WithAppProtocol (protocol .HTTPProtocol , strconv .Itoa (appPort )),
@@ -322,7 +323,6 @@ func TestCreateInstanceOperation(t *testing.T) {
322323 embedded .WithResourcesPath ("components/syncProcessCreation" ),
323324 )... ,
324325 )).
325- Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (20 * time .Second ))).
326326 Step ("Waiting for the component to start" , flow .Sleep (10 * time .Second )).
327327 Step ("Deploy process in version 1" , deployVersion1 ).
328328 Step ("Deploy process in version 2" , deployVersion2 ).
0 commit comments