You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/05/22 18:53:04 UTC

[jira] [Resolved] (GEODE-2959) LocatorLauncherTest fails with AssertionError: expected null, but was:<>

     [ https://issues.apache.org/jira/browse/GEODE-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk Lund resolved GEODE-2959.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

CacheXmlParserJUnitTest#testCacheXmlParserWithSimplePool uses InternalDistributedSystem#newInstanceForTesting to add a mock DistributedSystem to existingSystems. This then caused LocatorLauncherTest to fail because that test expects existingSystems to contain zero instances.

> LocatorLauncherTest fails with AssertionError: expected null, but was:<>
> ------------------------------------------------------------------------
>
>                 Key: GEODE-2959
>                 URL: https://issues.apache.org/jira/browse/GEODE-2959
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.2.0
>
>
> {noformat}
> :geode-core:test
> org.apache.geode.distributed.LocatorLauncherTest > testBuildWithMemberNameSetInApiPropertiesOnStart FAILED
>     java.lang.AssertionError: expected null, but was:<>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotNull(Assert.java:755)
>         at org.junit.Assert.assertNull(Assert.java:737)
>         at org.junit.Assert.assertNull(Assert.java:747)
>         at org.apache.geode.distributed.LocatorLauncherTest.testBuildWithMemberNameSetInApiPropertiesOnStart(LocatorLauncherTest.java:361)
> org.apache.geode.distributed.LocatorLauncherTest > testBuildWithMemberNameSetInSystemPropertiesOnStart FAILED
>     java.lang.AssertionError: expected null, but was:<>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotNull(Assert.java:755)
>         at org.junit.Assert.assertNull(Assert.java:737)
>         at org.junit.Assert.assertNull(Assert.java:747)
>         at org.apache.geode.distributed.LocatorLauncherTest.testBuildWithMemberNameSetInSystemPropertiesOnStart(LocatorLauncherTest.java:373)
> 3072 tests completed, 2 failed, 13 skipped
> :geode-core:test FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)