geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [geode] branch develop updated: GEODE-4061: Updated DUnit test for changes in list member command (#1184)
Date Tue, 19 Dec 2017 21:37:22 GMT
This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new c25e43d  GEODE-4061: Updated DUnit test for changes in list member command (#1184)
c25e43d is described below

commit c25e43dfdf0886ac926f21d6baeccaf79ed072ac
Author: Kenneth Howe <khowe@pivotal.io>
AuthorDate: Tue Dec 19 13:37:19 2017 -0800

    GEODE-4061: Updated DUnit test for changes in list member command (#1184)
    
    * GEODE-4061: Fixed DUnit test for changes in list member command
    
    'list member' now shows the coordinator
    
    * GEODE-4061: Simplified assertions for the coordinator
---
 .../management/internal/cli/commands/ListMembersCommandDUnitTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ListMembersCommandDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ListMembersCommandDUnitTest.java
index c95fcfa..1aa8557 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ListMembersCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ListMembersCommandDUnitTest.java
@@ -86,7 +86,7 @@ public class ListMembersCommandDUnitTest {
     gfsh.executeAndAssertThat(LIST_MEMBER + " --group=serverGroup1").statusIsSuccess();
     String output = gfsh.getGfshOutput();
 
-    assertThat(output).doesNotContain("locator-0");
+    assertThat(output).contains("Coordinator:");
     assertThat(output).contains("server-1");
     assertThat(output).contains("server-2");
     assertThat(output).doesNotContain("server-3");
@@ -97,7 +97,7 @@ public class ListMembersCommandDUnitTest {
     gfsh.executeAndAssertThat(LIST_MEMBER + " --group=serverGroup2").statusIsSuccess();
     String output = gfsh.getGfshOutput();
 
-    assertThat(output).doesNotContain("locator-0");
+    assertThat(output).contains("Coordinator:");
     assertThat(output).doesNotContain("server-1");
     assertThat(output).doesNotContain("server-2");
     assertThat(output).contains("server-3");

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message