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
Closed

ClientExceptionFactoryTest.testException Failures #7360

hasancelik opened this issue Jan 19, 2016 · 4 comments
Assignees
Labels
Source: Internal PR or issue was opened by an employee Team: Client Type: Test-Failure
Milestone

Comments

@hasancelik
Copy link
Contributor

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
Copy link
Contributor Author

@sancar sancar closed this as completed in 4c95970 Jan 21, 2016
@hasancelik hasancelik reopened this Feb 1, 2016
sancar pushed a commit that referenced this issue Feb 1, 2016
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
Copy link
Contributor

sancar commented Feb 1, 2016

closed via 3e8fbaf

@sancar sancar closed this as completed Feb 1, 2016
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Client Type: Test-Failure
Projects
None yet
Development

No branches or pull requests

3 participants