geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2959) LocatorLauncherTest fails with AssertionError: expected null, but was:<>
Date Mon, 22 May 2017 18:51:04 GMT

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

ASF subversion and git services commented on GEODE-2959:
--------------------------------------------------------

Commit 64798a583c881988c688cc64524ce027909f8f28 in geode's branch refs/heads/feature/GEODE-2632-16
from [~apache@the9muses.net]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=64798a5 ]

GEODE-2959: add pre-condition assertion to LocatorLauncherTest

* If this assertion fails then that means some other test that
ran previously to this one created and left a DistributedSystem
instance in existence. That other test needs to be found and
it requires a tearDown to close and null out that DS instance.


> 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
>
> {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)

Mime
View raw message