File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -286,11 +286,6 @@ func (wt *workflowTester[TResult]) Execute(args ...interface{}) {
286
286
}
287
287
}
288
288
289
- // Schedule activities
290
- for _ , event := range result .ActivityEvents {
291
- wt .scheduleActivity (tw .instance , event )
292
- }
293
-
294
289
for _ , workflowEvent := range result .WorkflowEvents {
295
290
gotNewEvents = true
296
291
wt .logger .Debug ("Workflow event" , "event_type" , workflowEvent .HistoryEvent .Type )
@@ -310,6 +305,11 @@ func (wt *workflowTester[TResult]) Execute(args ...interface{}) {
310
305
311
306
wt .scheduleTimer (tw .instance , timerEvent )
312
307
}
308
+
309
+ // Schedule activities
310
+ for _ , event := range result .ActivityEvents {
311
+ wt .scheduleActivity (tw .instance , event )
312
+ }
313
313
}
314
314
315
315
for ! wt .workflowFinished && ! gotNewEvents {
You can’t perform that action at this time.
0 commit comments