org.junit.ComparisonFailure: expected:<[time]out> but was:<[Read timed ]out>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by swankjesse
, 10 months ago
expected:<[time]out> but was:<[Read timed ]out>
via GitHub by dave-r12
, 7 months ago
expected:<[time]out> but was:<[Read timed ]out>
via GitHub by zheins
, 1 year ago
expected:<[9]> but was:<[NaN]>
org.junit.ComparisonFailure: expected:<[time]out> but was:<[Read timed ]out>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at okhttp3.internal.ws.WebSocketRecorder.assertFailure(WebSocketRecorder.java:194)
at okhttp3.internal.ws.WebSocketHttpTest.readTimeoutAppliesToHttpRequest(WebSocketHttpTest.java:468)

Users with the same issue

7 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 4 months ago
Once, 6 months ago
Once, 2 months ago
294 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.