1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

update tokio to 0.2.4

This commit is contained in:
Nikolay Kim
2019-12-07 10:15:26 +06:00
parent 6c00ab8296
commit fc0825fcdd
4 changed files with 5 additions and 5 deletions

View File

@ -186,7 +186,7 @@ mod tests {
#[actix_rt::test]
async fn system_time_service_time_updates_after_resolution_interval() {
let resolution = Duration::from_millis(100);
let wait_time = Duration::from_millis(150);
let wait_time = Duration::from_millis(300);
let time_service = SystemTimeService::with(resolution);
@ -212,7 +212,7 @@ mod tests {
#[actix_rt::test]
async fn lowres_time_service_time_updates_after_resolution_interval() {
let resolution = Duration::from_millis(100);
let wait_time = Duration::from_millis(150);
let wait_time = Duration::from_millis(300);
let time_service = LowResTimeService::with(resolution);
let first_time = time_service.now();