I'm using actix_web::client to make (not serve) an HTTP request. I'd like to use it to make requests in #[test] and read the result. For reasons, it's also wrapped in impl Future<Item=ClientResponse>.
What's the right way to wait for it?
future.wait() seems to block forever (deadlock?)
tokio::runtime::Runtime::block_on() requires Send, but the ClientResponse is not Send.