@@ -290,6 +290,7 @@ func TestCreateInstanceOperation(t *testing.T) {
290
290
flow .New (t , "Test create instance operation (async)" ).
291
291
Step (dockercompose .Run ("zeebe" , zeebe_test .DockerComposeYaml )).
292
292
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 ))).
293
294
Step (sidecar .Run (zeebe_test .SidecarName ,
294
295
append (componentRuntimeOptions (),
295
296
embedded .WithAppProtocol (protocol .HTTPProtocol , strconv .Itoa (appPort )),
@@ -298,7 +299,6 @@ func TestCreateInstanceOperation(t *testing.T) {
298
299
embedded .WithResourcesPath ("components/standard" ),
299
300
)... ,
300
301
)).
301
- Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (0 ))).
302
302
Step ("Waiting for the component to start" , flow .Sleep (10 * time .Second )).
303
303
Step ("Deploy process in version 1" , deployVersion1 ).
304
304
Step ("Deploy process in version 2" , deployVersion2 ).
@@ -314,6 +314,7 @@ func TestCreateInstanceOperation(t *testing.T) {
314
314
flow .New (t , "Test create instance operation (sync)" ).
315
315
Step (dockercompose .Run ("zeebe" , zeebe_test .DockerComposeYaml )).
316
316
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 ))).
317
318
Step (sidecar .Run (zeebe_test .SidecarName ,
318
319
append (componentRuntimeOptions (),
319
320
embedded .WithAppProtocol (protocol .HTTPProtocol , strconv .Itoa (appPort )),
@@ -322,7 +323,6 @@ func TestCreateInstanceOperation(t *testing.T) {
322
323
embedded .WithResourcesPath ("components/syncProcessCreation" ),
323
324
)... ,
324
325
)).
325
- Step (app .Run ("workerApp" , fmt .Sprintf (":%d" , appPort ), workers (20 * time .Second ))).
326
326
Step ("Waiting for the component to start" , flow .Sleep (10 * time .Second )).
327
327
Step ("Deploy process in version 1" , deployVersion1 ).
328
328
Step ("Deploy process in version 2" , deployVersion2 ).
0 commit comments