Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientExceptionFactoryTest.testException Failures #7360

Closed
hasancelik opened this issue Jan 19, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@hasancelik
Copy link
Contributor

commented Jan 19, 2016

org.junit.internal.ArrayComparisonFailure: arrays first differed at element [13]; expected: java.lang.StackTraceElement<<unknown class>.<unknown method>(Unknown Source)> but was: java.lang.StackTraceElement<<unknown class>.<unknown method>(Unknown Source)>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:834)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:144)
    at org.junit.internal.ExactComparisonCriteria.assertElementsEqual(ExactComparisonCriteria.java:8)
    at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:53)
    at org.junit.Assert.internalArrayEquals(Assert.java:532)
    at org.junit.Assert.assertArrayEquals(Assert.java:283)
    at org.junit.Assert.assertArrayEquals(Assert.java:298)
    at com.hazelcast.client.protocol.ClientExceptionFactoryTest.testException(ClientExceptionFactoryTest.java:198)

https://hazelcast-l337.ci.cloudbees.com/view/Hazelcast/job/Hazelcast-3.x-IbmJDK1.7/792/#showFailuresLink

maintenance
https://hazelcast-l337.ci.cloudbees.com/view/Official%20Builds/job/Hazelcast-3.maintenance-IbmJDK1.8/32/#showFailuresLink

@hasancelik

This comment has been minimized.

@sancar sancar closed this in 4c95970 Jan 21, 2016

@hasancelik hasancelik reopened this Feb 1, 2016

sancar added a commit that referenced this issue Feb 1, 2016

Fixes clientExceptionFactoryTest
Test was failing in ibm jdk's because equal method of
StackTraceElement returns false when method name is null.
Equal check made one by one for each field of stackTraceElement.

fixes #7360
@sancar

This comment has been minimized.

Copy link
Member

commented Feb 1, 2016

closed via 3e8fbaf

@sancar sancar closed this Feb 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.