org.junit.ComparisonFailure: expected:<Connection timed out[: connect]> but was:<Connection 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 ks2882
, 1 year ago
expected:<Connection timed out[: connect]> but was:<Connection timed out[]>
via pmd by nutterzuk
, 1 year ago
expected:<Line 1[] Line 2> but was:<Line 1[ ] Line 2>
via GitHub by zheins
, 1 year ago
expected:<[9]> but was:<[NaN]>
via GitHub by wildfly-ci
, 1 year ago
expected:<[1]> but was:<[0]>
org.junit.ComparisonFailure: expected:<Connection timed out[: connect]> but was:<Connection timed out[]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.microsoft.azure.storage.GenericTests.testDefaultProxy(GenericTests.java:173)

Users with the same issue

Once, 1 day ago
6 times, 1 week ago
Once, 1 week ago
12 times, 2 weeks ago
2 times, 4 weeks ago

Write tip

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