Is CIO engine main in ktor 2.0.1 something to be a...
# ktor
d
Is CIO engine main in ktor 2.0.1 something to be avoided
e
Hi! Nope, CIO just allows to configure different set of params
d
I've opened a ticket https://youtrack.jetbrains.com/issue/KTOR-4299/ktor-2-0-1-externalServices-not-working-in-tests I'm wondering if my last comment is correct or plain wrong
e
It looks like you’re trying to use regular
HttpClient(CIO)
with mock server.
Could you try creating mock client for tests? You can check here how to make it: https://ktor.io/docs/testing.html#configure-client