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

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

Commit 64798a583c881988c688cc64524ce027909f8f28 in geode's branch 
refs/heads/feature/GEODE-2580 from [~apa...@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)

Reply via email to