org.junit.ComparisonFailure

expected:<'Connection refused[]'> but was:<'Connection refused\[: connect]'>

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1011

  • expected:<'Connection refused[]'> but was:<'Connection refused\[: connect]'>
  • via GitHub by ks2882
    , 10 months ago
    expected:<Connection timed out[: connect]> but was:<Connection timed out[]>
  • option mask [0x00 0x00 0x00 0x00] read [0x88 0x02 0x03 0xea]] > but was:<...hakeKey()} connect [failed: Connection refused: localhost/127.0.0.1:8080 property writeMaskA ${ws:randomBytes(4)} property client25a ${ws:randomBytes(25)} accept http://localhost:8080/echo ] >
  • Stack trace

    • org.junit.ComparisonFailure: expected:<'Connection refused[]'> but was:<'Connection refused\[: connect]'> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.fest.assertions.ConstructorInvoker.newInstance(ConstructorInvoker.java:36) at org.fest.assertions.ComparisonFailureFactory.newComparisonFailure(ComparisonFailureFactory.java:60) at org.fest.assertions.ComparisonFailureFactory.comparisonFailure(ComparisonFailureFactory.java:46) at org.fest.assertions.Fail.comparisonFailed(Fail.java:83) at org.fest.assertions.Fail.failIfNotEqual(Fail.java:71) at org.fest.assertions.ThrowableAssert.hasMessage(ThrowableAssert.java:85) at org.hibernate.search.elasticsearch.test.HostCanBeConfiguredIT.shouldApplyConfiguredElasticsearchHost(HostCanBeConfiguredIT.java:48)

    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, 20 hours ago
    Once, 1 week ago
    Once, 3 weeks ago
    Once, 1 month ago
    2 times, 1 month ago
    5 more bugmates