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

hasancelik opened this issue Jan 19, 2016 · 4 comments


None yet
2 participants
Copy link

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.failNotEquals(
    at org.junit.Assert.assertEquals(
    at org.junit.Assert.assertEquals(
    at org.junit.internal.ExactComparisonCriteria.assertElementsEqual(
    at org.junit.internal.ComparisonCriteria.arrayEquals(
    at org.junit.Assert.internalArrayEquals(
    at org.junit.Assert.assertArrayEquals(
    at org.junit.Assert.assertArrayEquals(
    at com.hazelcast.client.protocol.ClientExceptionFactoryTest.testException(



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

This comment has been minimized.

Copy link

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.