mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 04:47:39 +03:00
Check test server availability before using it (#522)
This commit is contained in:
parent
ab5fb624b7
commit
9a8a2b3216
9 changed files with 29 additions and 2 deletions
|
@ -67,6 +67,9 @@ where
|
|||
|
||||
let (system, addr, server) = rx.recv().unwrap();
|
||||
|
||||
// wait for server
|
||||
thread::sleep(std::time::Duration::from_millis(50));
|
||||
|
||||
TestServer {
|
||||
addr,
|
||||
server,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue