mirror of https://github.com/fafhrd91/actix-web
fix actix-http-test
This commit is contained in:
parent
2bf21631fe
commit
4c6c899b6e
|
@ -69,7 +69,7 @@ pub async fn test_server_with_addr<F: ServiceFactory<TcpStream>>(
|
||||||
.disable_signals();
|
.disable_signals();
|
||||||
|
|
||||||
sys.block_on(async {
|
sys.block_on(async {
|
||||||
srv.start();
|
srv.run();
|
||||||
tx.send((System::current(), local_addr)).unwrap();
|
tx.send((System::current(), local_addr)).unwrap();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue