File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -377,9 +377,9 @@ mod tests {
377
377
let time_now = get_time_ms ( ClockType :: Monotonic ) ;
378
378
let expiry = TokenAuthority :: compute_expiry ( 1 ) ;
379
379
let ttl = expiry - time_now;
380
- // We allow a deviation of 10ms to account for the gap
380
+ // We allow a deviation of 20ms to account for the gap
381
381
// between the two calls to `get_time_ms()`.
382
- let deviation = 10 ;
382
+ let deviation = 20 ;
383
383
assert ! ( ttl >= MILLISECONDS_PER_SECOND - deviation && ttl <= MILLISECONDS_PER_SECOND ) ;
384
384
385
385
let time_now = get_time_ms ( ClockType :: Monotonic ) ;
Original file line number Diff line number Diff line change 26
26
SECCOMP_JSON_DIR = FC_WORKSPACE_DIR / "resources/seccomp"
27
27
28
28
# Maximum accepted duration of an API call, in milliseconds
29
- MAX_API_CALL_DURATION_MS = 500
29
+ MAX_API_CALL_DURATION_MS = 700
30
30
31
31
# Relative path to the location of the kernel file
32
32
MICROVM_KERNEL_RELPATH = 'kernel/'
You can’t perform that action at this time.
0 commit comments