Could someone take a look at this WebSocket test c...
# ktor
l
Could someone take a look at this WebSocket test case? The function
handleWebSocketConversation
blocks the execution forever, so the test does not finish.
Wrapping with
try/catch
block or debugging does not show any messages.
t
Are you wrapping the route in something like json and if so are you setting the content type properly?
On the request that is
l
Yes,
ContentNegotiation
feature is enabled for Jackson. Disabling it didn't change the behavior though.
t
Sorry @Lucas, I meant that for the post above.
l
No problem, thank you for looking at this.
It seems to be related to the testing package itself, because the code working fine in production.