1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

use convert err on forward_ready! (#246)

This commit is contained in:
Rob Ede
2021-01-09 14:13:16 +00:00
committed by GitHub
parent a1982bdbad
commit f751cf5acb
15 changed files with 34 additions and 35 deletions

View File

@ -28,7 +28,7 @@ fn test_bind() {
.disable_signals()
.bind("test", addr, move || fn_service(|_| ok::<_, ()>(())))
.unwrap()
.start()
.run()
}));
let _ = tx.send((srv, actix_rt::System::current()));
let _ = sys.run();
@ -55,7 +55,7 @@ fn test_listen() {
.workers(1)
.listen("test", lst, move || fn_service(|_| ok::<_, ()>(())))
.unwrap()
.start();
.run();
let _ = tx.send(actix_rt::System::current());
});
let _ = sys.run();
@ -94,7 +94,7 @@ fn test_start() {
})
})
.unwrap()
.start()
.run()
}));
let _ = tx.send((srv, actix_rt::System::current()));
@ -173,7 +173,7 @@ fn test_configure() {
})
.unwrap()
.workers(1)
.start()
.run()
}));
let _ = tx.send((srv, actix_rt::System::current()));
let _ = sys.run();