1
0
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:
Nikolay Kim
2019-12-07 09:57:43 +06:00
parent 5674840c01
commit cbdbc05dbd
17 changed files with 30 additions and 30 deletions

View File

@ -76,11 +76,10 @@ fn test_start() {
let addr = unused_addr();
let (tx, rx) = mpsc::channel();
let _ = thread::spawn(move || {
let h = thread::spawn(move || {
let sys = actix_rt::System::new("test");
let srv: Server = Server::build()
.backlog(100)
.workers(1)
.disable_signals()
.bind("test", addr, move || {
service_fn(|io: TcpStream| {
@ -132,7 +131,7 @@ fn test_start() {
thread::sleep(time::Duration::from_millis(100));
let _ = sys.stop();
// let _ = h.join();
let _ = h.join();
}
#[test]