@@ -52,20 +52,21 @@ def inject!(header)
52
52
subject . start_workflow ( TestStartWorkflow , 42 )
53
53
expect ( connection )
54
54
. to have_received ( :start_workflow_execution )
55
- . with (
56
- namespace : 'default-test-namespace' ,
57
- workflow_id : an_instance_of ( String ) ,
58
- workflow_name : 'TestStartWorkflow' ,
59
- task_queue : 'default-test-task-queue' ,
60
- input : [ 42 ] ,
61
- task_timeout : config . timeouts [ :task ] ,
62
- run_timeout : config . timeouts [ :run ] ,
63
- execution_timeout : config . timeouts [ :execution ] ,
64
- workflow_id_reuse_policy : nil ,
65
- headers : { 'test' => 'asdf' } ,
66
- memo : { } ,
67
- search_attributes : { } ,
68
- )
55
+ . with (
56
+ namespace : 'default-test-namespace' ,
57
+ workflow_id : an_instance_of ( String ) ,
58
+ workflow_name : 'TestStartWorkflow' ,
59
+ task_queue : 'default-test-task-queue' ,
60
+ input : [ 42 ] ,
61
+ task_timeout : config . timeouts [ :task ] ,
62
+ run_timeout : config . timeouts [ :run ] ,
63
+ execution_timeout : config . timeouts [ :execution ] ,
64
+ workflow_id_reuse_policy : nil ,
65
+ headers : { 'test' => 'asdf' } ,
66
+ memo : { } ,
67
+ search_attributes : { } ,
68
+ start_delay : 0
69
+ )
69
70
end
70
71
end
71
72
@@ -94,6 +95,7 @@ def inject!(header)
94
95
headers : { } ,
95
96
memo : { } ,
96
97
search_attributes : { } ,
98
+ start_delay : 0
97
99
)
98
100
end
99
101
@@ -109,6 +111,7 @@ def inject!(header)
109
111
workflow_id_reuse_policy : :reject ,
110
112
memo : { 'MemoKey1' => 'MemoValue1' } ,
111
113
search_attributes : { 'SearchAttribute1' => 256 } ,
114
+ start_delay : 10
112
115
}
113
116
)
114
117
@@ -127,6 +130,7 @@ def inject!(header)
127
130
headers : { 'Foo' => 'Bar' } ,
128
131
memo : { 'MemoKey1' => 'MemoValue1' } ,
129
132
search_attributes : { 'SearchAttribute1' => 256 } ,
133
+ start_delay : 10
130
134
)
131
135
end
132
136
@@ -154,6 +158,7 @@ def inject!(header)
154
158
headers : { } ,
155
159
memo : { } ,
156
160
search_attributes : { } ,
161
+ start_delay : 0
157
162
)
158
163
end
159
164
@@ -175,6 +180,7 @@ def inject!(header)
175
180
headers : { } ,
176
181
memo : { } ,
177
182
search_attributes : { } ,
183
+ start_delay : 0
178
184
)
179
185
end
180
186
@@ -198,6 +204,7 @@ def inject!(header)
198
204
headers : { } ,
199
205
memo : { } ,
200
206
search_attributes : { } ,
207
+ start_delay : 0
201
208
)
202
209
end
203
210
end
@@ -225,6 +232,7 @@ def inject!(header)
225
232
headers : { } ,
226
233
memo : { } ,
227
234
search_attributes : { } ,
235
+ start_delay : 0
228
236
)
229
237
end
230
238
end
@@ -255,6 +263,7 @@ def expect_signal_with_start(expected_arguments, expected_signal_argument)
255
263
search_attributes : { } ,
256
264
signal_name : 'the question' ,
257
265
signal_input : expected_signal_argument ,
266
+ start_delay : 0
258
267
)
259
268
end
260
269
0 commit comments