@@ -51,10 +51,10 @@ async fn run_send_with_delay(min_restate_version: SemanticRestateVersion) {
5151 all!(
5252 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
5353 contains( pat!( Action :: RegisterTimer { .. } ) ) ,
54- contains( eq ( Action :: IngressSubmitNotification {
55- request_id,
56- execution_time: Some ( wake_up_time) ,
57- is_new_invocation: true
54+ contains( pat! ( Action :: IngressSubmitNotification {
55+ request_id: eq ( request_id ) ,
56+ execution_time: some ( eq ( wake_up_time) ) ,
57+ is_new_invocation: eq ( true )
5858 } ) )
5959 )
6060 ) ;
@@ -71,10 +71,10 @@ async fn run_send_with_delay(min_restate_version: SemanticRestateVersion) {
7171 actions,
7272 all!(
7373 contains( matchers:: actions:: invoke_for_id( invocation_id) ) ,
74- not( contains( eq ( Action :: IngressSubmitNotification {
75- request_id,
76- execution_time: Some ( wake_up_time) ,
77- is_new_invocation: true ,
74+ not( contains( pat! ( Action :: IngressSubmitNotification {
75+ request_id: eq ( request_id ) ,
76+ execution_time: some ( eq ( wake_up_time) ) ,
77+ is_new_invocation: eq ( true ) ,
7878 } ) ) )
7979 )
8080 ) ;
@@ -114,10 +114,10 @@ async fn send_with_delay_where_experimental_feature_journal_table_v2_is_enabled_
114114 all!(
115115 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
116116 contains( pat!( Action :: RegisterTimer { .. } ) ) ,
117- contains( eq ( Action :: IngressSubmitNotification {
118- request_id,
119- execution_time: Some ( wake_up_time) ,
120- is_new_invocation: true
117+ contains( pat! ( Action :: IngressSubmitNotification {
118+ request_id: eq ( request_id ) ,
119+ execution_time: some ( eq ( wake_up_time) ) ,
120+ is_new_invocation: eq ( true )
121121 } ) )
122122 )
123123 ) ;
@@ -137,10 +137,10 @@ async fn send_with_delay_where_experimental_feature_journal_table_v2_is_enabled_
137137 actions,
138138 all!(
139139 contains( matchers:: actions:: invoke_for_id( invocation_id) ) ,
140- not( contains( eq ( Action :: IngressSubmitNotification {
141- request_id,
142- execution_time: Some ( wake_up_time) ,
143- is_new_invocation: true ,
140+ not( contains( pat! ( Action :: IngressSubmitNotification {
141+ request_id: eq ( request_id ) ,
142+ execution_time: some ( eq ( wake_up_time) ) ,
143+ is_new_invocation: eq ( true ) ,
144144 } ) ) )
145145 )
146146 ) ;
@@ -186,10 +186,10 @@ async fn send_with_delay_to_locked_virtual_object() {
186186 all!(
187187 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
188188 contains( pat!( Action :: RegisterTimer { .. } ) ) ,
189- contains( eq ( Action :: IngressSubmitNotification {
190- request_id,
191- execution_time: Some ( wake_up_time) ,
192- is_new_invocation: true ,
189+ contains( pat! ( Action :: IngressSubmitNotification {
190+ request_id: eq ( request_id ) ,
191+ execution_time: some ( eq ( wake_up_time) ) ,
192+ is_new_invocation: eq ( true ) ,
193193 } ) )
194194 )
195195 ) ;
@@ -215,10 +215,10 @@ async fn send_with_delay_to_locked_virtual_object() {
215215 actions,
216216 all!(
217217 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
218- not( contains( eq ( Action :: IngressSubmitNotification {
219- request_id,
220- execution_time: Some ( wake_up_time) ,
221- is_new_invocation: true ,
218+ not( contains( pat! ( Action :: IngressSubmitNotification {
219+ request_id: eq ( request_id ) ,
220+ execution_time: some ( eq ( wake_up_time) ) ,
221+ is_new_invocation: eq ( true ) ,
222222 } ) ) )
223223 )
224224 ) ;
@@ -275,10 +275,10 @@ async fn send_with_delay_and_idempotency_key() {
275275 all!(
276276 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
277277 contains( pat!( Action :: RegisterTimer { .. } ) ) ,
278- contains( eq ( Action :: IngressSubmitNotification {
279- request_id: request_id_1,
280- execution_time,
281- is_new_invocation: true ,
278+ contains( pat! ( Action :: IngressSubmitNotification {
279+ request_id: eq ( request_id_1) ,
280+ execution_time: eq ( execution_time ) ,
281+ is_new_invocation: eq ( true ) ,
282282 } ) )
283283 )
284284 ) ;
@@ -304,10 +304,10 @@ async fn send_with_delay_and_idempotency_key() {
304304 actions,
305305 all!(
306306 not( contains( matchers:: actions:: invoke_for_id( invocation_id) ) ) ,
307- contains( eq ( Action :: IngressSubmitNotification {
308- request_id: request_id_2,
309- execution_time,
310- is_new_invocation: false ,
307+ contains( pat! ( Action :: IngressSubmitNotification {
308+ request_id: eq ( request_id_2) ,
309+ execution_time: eq ( execution_time ) ,
310+ is_new_invocation: eq ( false ) ,
311311 } ) )
312312 )
313313 ) ;
0 commit comments