@@ -1300,12 +1300,13 @@ func (t *TaskHandlersTestSuite) TestActivityExecutionDeadline() {
13001300 WorkflowExecution : & s.WorkflowExecution {
13011301 WorkflowId : common .StringPtr ("wID" ),
13021302 RunId : common .StringPtr ("rID" )},
1303- ActivityType : & s.ActivityType {Name : common .StringPtr ("test" )},
1304- ActivityId : common .StringPtr (uuid .New ()),
1305- ScheduledTimestamp : common .Int64Ptr (d .ScheduleTS .UnixNano ()),
1306- ScheduleToCloseTimeoutSeconds : common .Int32Ptr (d .ScheduleDuration ),
1307- StartedTimestamp : common .Int64Ptr (d .StartTS .UnixNano ()),
1308- StartToCloseTimeoutSeconds : common .Int32Ptr (d .StartDuration ),
1303+ ActivityType : & s.ActivityType {Name : common .StringPtr ("test" )},
1304+ ActivityId : common .StringPtr (uuid .New ()),
1305+ ScheduledTimestamp : common .Int64Ptr (d .ScheduleTS .UnixNano ()),
1306+ ScheduledTimestampOfThisAttempt : common .Int64Ptr (d .ScheduleTS .UnixNano ()),
1307+ ScheduleToCloseTimeoutSeconds : common .Int32Ptr (d .ScheduleDuration ),
1308+ StartedTimestamp : common .Int64Ptr (d .StartTS .UnixNano ()),
1309+ StartToCloseTimeoutSeconds : common .Int32Ptr (d .StartDuration ),
13091310 WorkflowType : & s.WorkflowType {
13101311 Name : common .StringPtr ("wType" ),
13111312 },
@@ -1358,12 +1359,13 @@ func (t *TaskHandlersTestSuite) TestActivityExecutionWorkerStop() {
13581359 WorkflowExecution : & s.WorkflowExecution {
13591360 WorkflowId : common .StringPtr ("wID" ),
13601361 RunId : common .StringPtr ("rID" )},
1361- ActivityType : & s.ActivityType {Name : common .StringPtr ("test" )},
1362- ActivityId : common .StringPtr (uuid .New ()),
1363- ScheduledTimestamp : common .Int64Ptr (time .Now ().UnixNano ()),
1364- ScheduleToCloseTimeoutSeconds : common .Int32Ptr (1 ),
1365- StartedTimestamp : common .Int64Ptr (time .Now ().UnixNano ()),
1366- StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
1362+ ActivityType : & s.ActivityType {Name : common .StringPtr ("test" )},
1363+ ActivityId : common .StringPtr (uuid .New ()),
1364+ ScheduledTimestamp : common .Int64Ptr (time .Now ().UnixNano ()),
1365+ ScheduledTimestampOfThisAttempt : common .Int64Ptr (time .Now ().UnixNano ()),
1366+ ScheduleToCloseTimeoutSeconds : common .Int32Ptr (1 ),
1367+ StartedTimestamp : common .Int64Ptr (time .Now ().UnixNano ()),
1368+ StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
13671369 WorkflowType : & s.WorkflowType {
13681370 Name : common .StringPtr ("wType" ),
13691371 },
0 commit comments