File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sdks/rust/tests/procedure-client/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -332,15 +332,15 @@ fn exec_schedule_procedure() {
332332 // Ensure that the elapsed time
333333 // between the reducer and procedure
334334 // is at least 1 second
335- // but no more than 1 second + 50 milliseconds .
335+ // but no more than 2 seconds .
336336 let elapsed = row
337337 . procedure_ts
338338 . duration_since ( row. reducer_ts )
339339 . expect ( "procedure ts > reducer ts" ) ;
340- const MS_1000 : Duration = Duration :: from_millis ( 1000 ) ;
341- const MS_1050 : Duration = Duration :: from_millis ( 1050 ) ;
340+ const MS_1000 : Duration = Duration :: from_secs ( 1 ) ;
341+ const MS_2000 : Duration = Duration :: from_secs ( 2 ) ;
342342 assert ! ( elapsed >= MS_1000 ) ;
343- assert ! ( elapsed <= MS_1050 ) ;
343+ assert ! ( elapsed <= MS_2000 ) ;
344344
345345 ( callback_result. take ( ) . unwrap ( ) ) ( Ok ( ( ) ) ) ;
346346 } ) ;
You can’t perform that action at this time.
0 commit comments