@@ -845,7 +845,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
845845 },
846846 }, defaultWorkflowTaskCompletionLimits )
847847
848- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
848+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
849849 Namespace : "child namespace1" ,
850850 WorkflowId : "child workflow1" ,
851851 WorkflowType : & commonpb.WorkflowType {
@@ -856,7 +856,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
856856 ParentClosePolicy : parentClosePolicy1 ,
857857 }, "child namespace1-ID" )
858858 s .Nil (err )
859- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
859+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
860860 Namespace : "child namespace2" ,
861861 WorkflowId : "child workflow2" ,
862862 WorkflowType : & commonpb.WorkflowType {
@@ -867,7 +867,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
867867 ParentClosePolicy : parentClosePolicy2 ,
868868 }, "child namespace2-ID" )
869869 s .Nil (err )
870- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
870+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
871871 Namespace : "child namespace3" ,
872872 WorkflowId : "child workflow3" ,
873873 WorkflowType : & commonpb.WorkflowType {
@@ -970,7 +970,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
970970 }, defaultWorkflowTaskCompletionLimits )
971971
972972 for i := 0 ; i < 10 ; i ++ {
973- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
973+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
974974 WorkflowId : "child workflow" + convert .IntToString (i ),
975975 WorkflowType : & commonpb.WorkflowType {
976976 Name : "child workflow type" ,
@@ -1067,7 +1067,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_ParentW
10671067 }, defaultWorkflowTaskCompletionLimits )
10681068
10691069 for i := 0 ; i < 10 ; i ++ {
1070- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
1070+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
10711071 WorkflowId : "child workflow" + convert .IntToString (i ),
10721072 WorkflowType : & commonpb.WorkflowType {
10731073 Name : "child workflow type" ,
@@ -1157,7 +1157,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
11571157 }, defaultWorkflowTaskCompletionLimits )
11581158
11591159 for i := 0 ; i < 10 ; i ++ {
1160- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
1160+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
11611161 WorkflowId : "child workflow" + convert .IntToString (i ),
11621162 WorkflowType : & commonpb.WorkflowType {
11631163 Name : "child workflow type" ,
@@ -1254,7 +1254,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
12541254 },
12551255 }, defaultWorkflowTaskCompletionLimits )
12561256
1257- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
1257+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
12581258 Namespace : "child namespace1" ,
12591259 WorkflowId : "child workflow1" ,
12601260 WorkflowType : & commonpb.WorkflowType {
@@ -1266,7 +1266,7 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessCloseExecution_NoParen
12661266 }, "child namespace1-ID" )
12671267 s .NoError (err )
12681268
1269- _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), uuid . New (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
1269+ _ , _ , err = mutableState .AddStartChildWorkflowExecutionInitiatedEvent (event .GetEventId (), & commandpb.StartChildWorkflowExecutionCommandAttributes {
12701270 Namespace : "child namespace1" ,
12711271 WorkflowId : "child workflow2" ,
12721272 WorkflowType : & commonpb.WorkflowType {
@@ -1938,7 +1938,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Su
19381938 event , ci := addStartChildWorkflowExecutionInitiatedEvent (
19391939 mutableState ,
19401940 event .GetEventId (),
1941- uuid .New (),
19421941 s .childNamespace ,
19431942 s .childNamespaceID ,
19441943 childWorkflowID ,
@@ -2053,7 +2052,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Re
20532052 childInitEvent , _ := addStartChildWorkflowExecutionInitiatedEvent (
20542053 mutableState ,
20552054 1111 ,
2056- uuid .New (),
20572055 s .childNamespace ,
20582056 s .childNamespaceID ,
20592057 childWorkflowID ,
@@ -2177,7 +2175,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Fa
21772175 event , ci := addStartChildWorkflowExecutionInitiatedEvent (
21782176 mutableState ,
21792177 event .GetEventId (),
2180- uuid .New (),
21812178 s .childNamespace ,
21822179 s .childNamespaceID ,
21832180 childWorkflowID ,
@@ -2267,7 +2264,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Fa
22672264 event , _ = addStartChildWorkflowExecutionInitiatedEvent (
22682265 mutableState ,
22692266 event .GetEventId (),
2270- uuid .New (),
22712267 s .namespace ,
22722268 s .namespaceID ,
22732269 childWorkflowID ,
@@ -2342,7 +2338,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Su
23422338 event , ci := addStartChildWorkflowExecutionInitiatedEvent (
23432339 mutableState ,
23442340 event .GetEventId (),
2345- uuid .New (),
23462341 s .childNamespace ,
23472342 s .childNamespaceID ,
23482343 childWorkflowID ,
@@ -2446,7 +2441,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessStartChildExecution_Du
24462441 event , ci := addStartChildWorkflowExecutionInitiatedEvent (
24472442 mutableState ,
24482443 event .GetEventId (),
2449- uuid .New (),
24502444 s .childNamespace ,
24512445 s .childNamespaceID ,
24522446 childExecution .GetWorkflowId (),
@@ -2530,7 +2524,6 @@ func (s *transferQueueActiveTaskExecutorSuite) TestProcessorStartChildExecution_
25302524 event , ci := addStartChildWorkflowExecutionInitiatedEvent (
25312525 mutableState ,
25322526 event .GetEventId (),
2533- uuid .New (),
25342527 s .childNamespace ,
25352528 s .childNamespaceID ,
25362529 childExecution .GetWorkflowId (),
0 commit comments