mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-26 19:47:43 +02:00
update tokio verion and prep alpha3 release
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
# Changes
|
||||
|
||||
## [1.0.0-alpha.3] - 2019-12-xx
|
||||
## [1.0.0-alpha.3] - 2019-12-07
|
||||
|
||||
* Migrate to `tokio=0.2.2`
|
||||
* Migrate to tokio 0.2
|
||||
|
||||
* Fix oneshot
|
||||
|
||||
|
@ -216,7 +216,7 @@ mod tests {
|
||||
#[actix_rt::test]
|
||||
async fn test_timeout() {
|
||||
let resolution = Duration::from_millis(100);
|
||||
let wait_time = Duration::from_millis(150);
|
||||
let wait_time = Duration::from_millis(500);
|
||||
|
||||
let mut timeout = TimeoutService::new(resolution, SleepService(wait_time));
|
||||
assert_eq!(timeout.call(()).await, Err(TimeoutError::Timeout));
|
||||
@ -225,7 +225,7 @@ mod tests {
|
||||
#[actix_rt::test]
|
||||
async fn test_timeout_newservice() {
|
||||
let resolution = Duration::from_millis(100);
|
||||
let wait_time = Duration::from_millis(150);
|
||||
let wait_time = Duration::from_millis(500);
|
||||
|
||||
let timeout = apply(
|
||||
Timeout::new(resolution),
|
||||
|
Reference in New Issue
Block a user