Marc de Palol

02/09/2021, 10:02 PM
Hi, I’m trying to test some ktor client code that uses the HttpTimeout question, but it doesn’t seem possible, In my code I have a client with the HttpTimeout feature installed. When running the tests, I create an HttpClient with a MockEngine. If I try to install the HttpTimeout feature in there I get a
Engine doesn’t support io.ktor.client.features.HttpTimeout$Feature@5c8a5ca9
, if I don’t install it I get another error:
Consider installing io.ktor.client.features.HttpTimeout$Feature@157a2816 feature because the request requires it to be installed
Isn’t there any workaround?
you know, other that
the httpclient for god ?

Rustam Siniukov

02/10/2021, 11:18 AM
Hi, please file an issue to youtrack

Marc de Palol

02/10/2021, 12:03 PM
will do, thanks