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

ASF GitHub Bot commented on GEODE-4061:
---------------------------------------

jdeppe-pivotal closed pull request #1184: GEODE-4061: Updated DUnit test for 
changes in list member command
URL: https://github.com/apache/geode/pull/1184
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 c95fcfa9ba..1aa8557a48 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 void listMembersInServerGroupOne() throws Exception {
     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 void listMembersInServerGroupTwo() throws Exception {
     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");


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Adding coordinator in list member command output
> ------------------------------------------------
>
>                 Key: GEODE-4061
>                 URL: https://issues.apache.org/jira/browse/GEODE-4061
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, messaging
>            Reporter: dinesh ak
>
> no way to find out the coordinator apart from log messages.
> i have added coordinator in list member command output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to