@@ -38,8 +38,8 @@ const MINIMAL_SCHEDULE_TRIGGER: ManifestEndpoint["scheduleTrigger"] = {
38
38
minBackoffSeconds : options . RESET_VALUE ,
39
39
maxBackoffSeconds : options . RESET_VALUE ,
40
40
maxDoublings : options . RESET_VALUE ,
41
- attemptDeadline : options . RESET_VALUE ,
42
41
} ,
42
+ attemptDeadline : options . RESET_VALUE ,
43
43
} ;
44
44
45
45
describe ( "schedule" , ( ) => {
@@ -74,8 +74,8 @@ describe("schedule", () => {
74
74
minBackoffSeconds : 2 ,
75
75
maxBackoffSeconds : 3 ,
76
76
maxDoublings : 4 ,
77
- attemptDeadline : "120s" ,
78
77
} ,
78
+ attemptDeadline : "120s" ,
79
79
opts : {
80
80
...options ,
81
81
memory : "128MiB" ,
@@ -115,7 +115,7 @@ describe("schedule", () => {
115
115
( ) => undefined
116
116
) ;
117
117
118
- expect ( schfn . __endpoint . scheduleTrigger ?. retryConfig ?. attemptDeadline ) . to . equal (
118
+ expect ( schfn . __endpoint . scheduleTrigger ?. attemptDeadline ) . to . equal (
119
119
"320s"
120
120
) ;
121
121
} ) ;
@@ -151,8 +151,8 @@ describe("schedule", () => {
151
151
minBackoffSeconds : 11 ,
152
152
maxBackoffSeconds : 12 ,
153
153
maxDoublings : 2 ,
154
- attemptDeadline : "120s" ,
155
154
} ,
155
+ attemptDeadline : "120s" ,
156
156
} ,
157
157
} ) ;
158
158
expect ( schfn . __requiredAPIs ) . to . deep . eq ( [
@@ -178,13 +178,13 @@ describe("schedule", () => {
178
178
scheduleTrigger : {
179
179
schedule : "* * * * *" ,
180
180
timeZone : undefined ,
181
+ attemptDeadline : undefined ,
181
182
retryConfig : {
182
183
retryCount : undefined ,
183
184
maxRetrySeconds : undefined ,
184
185
minBackoffSeconds : undefined ,
185
186
maxBackoffSeconds : undefined ,
186
187
maxDoublings : undefined ,
187
- attemptDeadline : undefined ,
188
188
} ,
189
189
} ,
190
190
} ) ;
0 commit comments