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

GitHub | swankjesse | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Flaky test: WebSocketHttpTest.readTimeoutAppliesToHttpRequest

    GitHub | 2 months ago | swankjesse
    org.junit.ComparisonFailure: expected:<[time]out> but was:<[Read timed ]out>
  2. 0

    WebSocketCallTest.serverMessage is flaky

    GitHub | 2 years ago | JakeWharton
    java.lang.AssertionError: expected:<Message[TEXT Buffer[size=18 md5=be471905fcbe7f881ceb7fa60775ab5e]]> but was:<null>
  3. 0

    WFLY-3982: Upgrade HAL to 2.4.4.Final by hpehl · Pull Request #6831 · wildfly/wildfly · GitHub

    github.com | 1 year ago
    org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 6837#59661635

    GitHub | 2 years ago | wildfly-ci
    org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>
  6. 0

    GitHub comment 6816#58964305

    GitHub | 2 years ago | wildfly-ci
    org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>

  1. jf-ast 1 times, last 4 weeks ago
  2. MoYapro 2 times, last 2 months ago
  3. richard77 2 times, last 2 months ago
  4. treefolk 2 times, last 2 months ago
  5. kjhdofjosvs 2 times, last 2 months ago
3 more registered users
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.junit.ComparisonFailure

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

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:115)
    2. org.junit.Assert.assertEquals(Assert.java:144)
    2 frames
  3. okhttp3.internal.ws
    WebSocketHttpTest.readTimeoutAppliesToHttpRequest
    1. okhttp3.internal.ws.WebSocketRecorder.assertFailure(WebSocketRecorder.java:194)
    2. okhttp3.internal.ws.WebSocketHttpTest.readTimeoutAppliesToHttpRequest(WebSocketHttpTest.java:468)
    2 frames