org.junit.ComparisonFailure

expected:<[time]out> but was:<[Read timed ]out>

Solutions on the web1014

  • expected:<[time]out> but was:<[Read timed ]out>
  • expected:<[time]out> but was:<[Read timed ]out>
  • via GitHub by ks2882
    , 10 months ago
    expected:<Connection timed out[: connect]> but was:<Connection timed out[]>
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 days ago
    3 times, 1 week ago
    Once, 3 weeks ago
    2 times, 1 month ago
    2 times, 1 month ago
    24 more bugmates