@@ -52,20 +52,21 @@ def inject!(header)
5252 subject . start_workflow ( TestStartWorkflow , 42 )
5353 expect ( connection )
5454 . 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+ )
6970 end
7071 end
7172
@@ -94,6 +95,7 @@ def inject!(header)
9495 headers : { } ,
9596 memo : { } ,
9697 search_attributes : { } ,
98+ start_delay : 0
9799 )
98100 end
99101
@@ -109,6 +111,7 @@ def inject!(header)
109111 workflow_id_reuse_policy : :reject ,
110112 memo : { 'MemoKey1' => 'MemoValue1' } ,
111113 search_attributes : { 'SearchAttribute1' => 256 } ,
114+ start_delay : 10
112115 }
113116 )
114117
@@ -127,6 +130,7 @@ def inject!(header)
127130 headers : { 'Foo' => 'Bar' } ,
128131 memo : { 'MemoKey1' => 'MemoValue1' } ,
129132 search_attributes : { 'SearchAttribute1' => 256 } ,
133+ start_delay : 10
130134 )
131135 end
132136
@@ -154,6 +158,7 @@ def inject!(header)
154158 headers : { } ,
155159 memo : { } ,
156160 search_attributes : { } ,
161+ start_delay : 0
157162 )
158163 end
159164
@@ -175,6 +180,7 @@ def inject!(header)
175180 headers : { } ,
176181 memo : { } ,
177182 search_attributes : { } ,
183+ start_delay : 0
178184 )
179185 end
180186
@@ -198,6 +204,7 @@ def inject!(header)
198204 headers : { } ,
199205 memo : { } ,
200206 search_attributes : { } ,
207+ start_delay : 0
201208 )
202209 end
203210 end
@@ -225,6 +232,7 @@ def inject!(header)
225232 headers : { } ,
226233 memo : { } ,
227234 search_attributes : { } ,
235+ start_delay : 0
228236 )
229237 end
230238 end
@@ -255,6 +263,7 @@ def expect_signal_with_start(expected_arguments, expected_signal_argument)
255263 search_attributes : { } ,
256264 signal_name : 'the question' ,
257265 signal_input : expected_signal_argument ,
266+ start_delay : 0
258267 )
259268 end
260269
0 commit comments