fix actix-http-test

This commit is contained in:
fakeshadow 2021-01-15 05:08:16 +08:00
parent 2bf21631fe
commit 4c6c899b6e
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}); });