diff --git a/dropshot/Cargo.toml b/dropshot/Cargo.toml index cdf2b5472..00ad3cd9d 100644 --- a/dropshot/Cargo.toml +++ b/dropshot/Cargo.toml @@ -43,7 +43,7 @@ version = "2.5.0" features = [ "max_level_trace", "release_max_level_debug" ] [dependencies.tokio] -version = "0.2.0" +version = "0.3.0" features = [ "full" ] [dependencies.uuid] diff --git a/dropshot/tests/test_pagination.rs b/dropshot/tests/test_pagination.rs index 08634ffb6..45ae2fea1 100644 --- a/dropshot/tests/test_pagination.rs +++ b/dropshot/tests/test_pagination.rs @@ -942,7 +942,7 @@ async fn start_example(path: &str, port: u16) -> ExampleContext { return rv; } - tokio::time::delay_for(Duration::from_millis(500)).await; + tokio::time::sleep(Duration::from_millis(500)).await; } panic!(