@@ -555,7 +555,7 @@ func (t *TaskHandlersTestSuite) TestCacheEvictionWhenErrorOccurs() {
555555 task := createWorkflowTask (testEvents , 3 , "HelloWorld_Workflow" )
556556 // newWorkflowTaskWorkerInternal will set the laTunnel in taskHandler, without it, ProcessWorkflowTask()
557557 // will fail as it can't find laTunnel in getWorkflowCache().
558- newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}))
558+ newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}), nil )
559559 request , err := taskHandler .ProcessWorkflowTask (& workflowTask {task : task }, nil )
560560
561561 t .Error (err )
@@ -588,7 +588,7 @@ func (t *TaskHandlersTestSuite) TestWithMissingHistoryEvents() {
588588 task := createWorkflowTask (testEvents , startEventID , "HelloWorld_Workflow" )
589589 // newWorkflowTaskWorkerInternal will set the laTunnel in taskHandler, without it, ProcessWorkflowTask()
590590 // will fail as it can't find laTunnel in getWorkflowCache().
591- newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}))
591+ newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}), nil )
592592 request , err := taskHandler .ProcessWorkflowTask (& workflowTask {task : task }, nil )
593593
594594 t .Error (err )
@@ -640,7 +640,7 @@ func (t *TaskHandlersTestSuite) TestWithTruncatedHistory() {
640640 task .StartedEventId = common .Int64Ptr (tc .startedEventID )
641641 // newWorkflowTaskWorkerInternal will set the laTunnel in taskHandler, without it, ProcessWorkflowTask()
642642 // will fail as it can't find laTunnel in getWorkflowCache().
643- newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}))
643+ newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}), nil )
644644 request , err := taskHandler .ProcessWorkflowTask (& workflowTask {task : task }, nil )
645645
646646 if tc .isResultErr {
@@ -754,7 +754,7 @@ func (t *TaskHandlersTestSuite) TestWorkflowTask_NondeterministicDetection() {
754754 task = createWorkflowTask (testEvents , 3 , "HelloWorld_Workflow" )
755755 // newWorkflowTaskWorkerInternal will set the laTunnel in taskHandler, without it, ProcessWorkflowTask()
756756 // will fail as it can't find laTunnel in getWorkflowCache().
757- newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , stopC )
757+ newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , stopC , nil )
758758 request , err = taskHandler .ProcessWorkflowTask (& workflowTask {task : task }, nil )
759759 t .Error (err )
760760 t .Nil (request )
@@ -927,7 +927,7 @@ func (t *TaskHandlersTestSuite) TestConsistentQuery_InvalidQueryTask() {
927927 task := createWorkflowTask (nil , 3 , "HelloWorld_Workflow" )
928928 task .Query = & s.WorkflowQuery {}
929929 task .Queries = map [string ]* s.WorkflowQuery {"query_id" : {}}
930- newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}))
930+ newWorkflowTaskWorkerInternal (taskHandler , t .service , testDomain , params , make (chan struct {}), nil )
931931 // query and queries are both specified so this is an invalid task
932932 request , err := taskHandler .ProcessWorkflowTask (& workflowTask {task : task }, nil )
933933
0 commit comments