Join Slack
Powered by
Is it possible to test HTTP timeouts with the clie...
# ktor
r
Richard Schielek
03/03/2025, 4:01 PM
Is it possible to test HTTP timeouts with the client mock engine using the same virtual clock in the test as in the mock engine?
Richard Schielek
03/03/2025, 7:57 PM
I guess I can use a mutex which gets locked and released by the test as a workaround. The mock engine will just wait on the mutex.
Richard Schielek
03/03/2025, 8:19 PM
Okay, this also doesn't work. I created an issue:
https://GitHub.com/ktorio/ktor/issues/4720
4
Views
Open in Slack
Previous
Next