[ 
https://issues.apache.org/jira/browse/IGNITE-10193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693250#comment-16693250
 ] 

ASF GitHub Bot commented on IGNITE-10193:
-----------------------------------------

GitHub user avplatonov opened a pull request:

    https://github.com/apache/ignite/pull/5446

    IGNITE-10193: 
IgniteBaselineAffinityTopologyActivationTest#testBaselineTopologyHistoryIsDeletedOnBaselineDelete
 fails

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-10193

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/5446.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 #5446
    
----
commit e05fae1aab267a72ef8d3351f54dff80b4304acb
Author: Alexey Platonov <aplatonovv@...>
Date:   2018-11-20T13:41:50Z

    remove old test

commit c8967246484415a806107850ad821a877618db48
Author: Alexey Platonov <aplatonovv@...>
Date:   2018-11-20T13:42:09Z

    Merge branch 'master' of https://github.com/apache/ignite into ignite-10193

----


> IgniteBaselineAffinityTopologyActivationTest#testBaselineTopologyHistoryIsDeletedOnBaselineDelete
>  fails asserting bltHist.history().size()
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10193
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10193
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Oleg Ignatenko
>            Assignee: Alexey Platonov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> IgniteBaselineAffinityTopologyActivationTest#testBaselineTopologyHistoryIsDeletedOnBaselineDelete
>  (in current codebase muted by renaming to 
> {{_testBaselineTopologyHistoryIsDeletedOnBaselineDelete}}) fails. Test 
> javadoc says: "Restore this test when requirements for BaselineTopology 
> deletion are clarified and this feature is covered with more tests."  
> (javadoc appears to be giving proper reason)
> Failure message: {noformat}
> junit.framework.AssertionFailedError:
> Expected :0
> Actual   :2
>       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.cache.persistence.IgniteBaselineAffinityTopologyActivationTest$17.verify(IgniteBaselineAffinityTopologyActivationTest.java:1041)
>       at 
> org.apache.ignite.internal.processors.cache.persistence.IgniteBaselineAffinityTopologyActivationTest.verifyBaselineTopologyHistoryOnNodes(IgniteBaselineAffinityTopologyActivationTest.java:693)
>       at 
> org.apache.ignite.internal.processors.cache.persistence.IgniteBaselineAffinityTopologyActivationTest.testBaselineTopologyHistoryIsDeletedOnBaselineDelete(IgniteBaselineAffinityTopologyActivationTest.java:1082)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       at junit.framework.TestCase.runTest(TestCase.java:176)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2208)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:144)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2124)
>       at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Snippet of code referred to from above message: {code}assertEquals(0, 
> bltHist.history().size());{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to