@@ -87,6 +87,7 @@ func TestActivityTaskHandler_Execute_deadline(t *testing.T) {
8787 ScheduleToCloseTimeoutSeconds : common .Int32Ptr (d .ScheduleDuration ),
8888 StartedTimestamp : common .Int64Ptr (d .StartTS .UnixNano ()),
8989 StartToCloseTimeoutSeconds : common .Int32Ptr (d .StartDuration ),
90+ Attempt : common .Int32Ptr (0 ),
9091 WorkflowType : & s.WorkflowType {
9192 Name : common .StringPtr ("wType" ),
9293 },
@@ -139,6 +140,7 @@ func TestActivityTaskHandler_Execute_worker_stop(t *testing.T) {
139140 ScheduleToCloseTimeoutSeconds : common .Int32Ptr (1 ),
140141 StartedTimestamp : common .Int64Ptr (now .UnixNano ()),
141142 StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
143+ Attempt : common .Int32Ptr (0 ),
142144 WorkflowType : & s.WorkflowType {
143145 Name : common .StringPtr ("wType" ),
144146 },
@@ -193,6 +195,7 @@ func TestActivityTaskHandler_Execute_with_propagators(t *testing.T) {
193195 ScheduleToCloseTimeoutSeconds : common .Int32Ptr (1 ),
194196 StartedTimestamp : common .Int64Ptr (now .UnixNano ()),
195197 StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
198+ Attempt : common .Int32Ptr (0 ),
196199 WorkflowType : & s.WorkflowType {
197200 Name : common .StringPtr ("wType" ),
198201 },
@@ -245,6 +248,7 @@ func TestActivityTaskHandler_Execute_with_propagator_failure(t *testing.T) {
245248 ScheduleToCloseTimeoutSeconds : common .Int32Ptr (1 ),
246249 StartedTimestamp : common .Int64Ptr (now .UnixNano ()),
247250 StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
251+ Attempt : common .Int32Ptr (0 ),
248252 WorkflowType : & s.WorkflowType {
249253 Name : common .StringPtr ("wType" ),
250254 },
@@ -301,6 +305,7 @@ func TestActivityTaskHandler_Execute_with_auto_heartbeat(t *testing.T) {
301305 StartedTimestamp : common .Int64Ptr (now .UnixNano ()),
302306 StartToCloseTimeoutSeconds : common .Int32Ptr (1 ),
303307 HeartbeatTimeoutSeconds : common .Int32Ptr (1 ),
308+ Attempt : common .Int32Ptr (0 ),
304309 WorkflowType : & s.WorkflowType {
305310 Name : common .StringPtr ("wType" ),
306311 },
0 commit comments