[
https://issues.apache.org/jira/browse/IGNITE-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104889#comment-16104889
]
ASF GitHub Bot commented on IGNITE-5866:
----------------------------------------
GitHub user nizhikov opened a pull request:
https://github.com/apache/ignite/pull/2359
IGNITE-5866: Fix tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nizhikov/ignite IGNITE-5866
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2359.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2359
----
commit 87ffac598b89c95fc87e546ae1b535232fd91bcd
Author: Nikolay Izhikov <[email protected]>
Date: 2017-07-28T12:31:06Z
IGNITE-5866: Fix tests
----
> JettyRestProcessorUnsignedSelfTest and JettyRestProcessorSignedSelfTest fails
> on master
> ---------------------------------------------------------------------------------------
>
> Key: IGNITE-5866
> URL: https://issues.apache.org/jira/browse/IGNITE-5866
> Project: Ignite
> Issue Type: Bug
> Components: clients
> Affects Versions: 2.1
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Minor
> Fix For: 2.2
>
>
> JettyRestProcessorSignedSelfTest and JettyRestProcessorUnsignedSelfTest fails
> on master
> when run whole test class.
> If run single method both tests succeed.
> testMetadataLocal:
> {noformat}
> junit.framework.AssertionFailedError: expected:<5> but was:<6>
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.failNotEquals(Assert.java:329)
> at junit.framework.Assert.assertEquals(Assert.java:78)
> at junit.framework.Assert.assertEquals(Assert.java:234)
> at junit.framework.Assert.assertEquals(Assert.java:241)
> at junit.framework.TestCase.assertEquals(TestCase.java:409)
> at
> org.apache.ignite.internal.processors.rest.JettyRestProcessorAbstractSelfTest.testMetadataLocal(JettyRestProcessorAbstractSelfTest.java:1127)
> {noformat}
> testMetadataRemote
> {noformat}
> junit.framework.AssertionFailedError: expected:<6> but was:<7>
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.failNotEquals(Assert.java:329)
> at junit.framework.Assert.assertEquals(Assert.java:78)
> at junit.framework.Assert.assertEquals(Assert.java:234)
> at junit.framework.Assert.assertEquals(Assert.java:241)
> at junit.framework.TestCase.assertEquals(TestCase.java:409)
> at
> org.apache.ignite.internal.processors.rest.JettyRestProcessorAbstractSelfTest.testMetadataRemote(JettyRestProcessorAbstractSelfTest.java:1174)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)