mirror of https://github.com/fafhrd91/actix-web
fix test
This commit is contained in:
parent
79f8480432
commit
a92601964f
|
@ -430,6 +430,8 @@ mod test {
|
|||
|
||||
drop(conn);
|
||||
|
||||
actix_rt::task::yield_now().await;
|
||||
|
||||
match sender.ready().await {
|
||||
Ok(_) => panic!("connection should be gone and can not be ready"),
|
||||
Err(e) => assert!(e.is_io()),
|
||||
|
|
Loading…
Reference in New Issue