Skip to content

Commit 2c213e9

Browse files
committed
exec_schedule_procedure: give CI 1 sec instead o 50 ms
1 parent 484f9b2 commit 2c213e9

File tree

1 file changed

+4
-4
lines changed
  • sdks/rust/tests/procedure-client/src

1 file changed

+4
-4
lines changed

sdks/rust/tests/procedure-client/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)