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

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

mkevo commented on a change in pull request #5803:
URL: https://github.com/apache/geode/pull/5803#discussion_r534489795



##########
File path: 
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/wancommand/ListGatewaysCommandDUnitTest.java
##########
@@ -452,8 +452,10 @@ public void 
testListGatewaysReceiversOnlyFalseAndSendersOnlyFalseReturnsSendersA
 
   @Test
   public void testListGatewaysWithOneDispatcherThread() {
-    String command =
-        "create gateway-sender --id=ln_Serial --remote-distributed-system-id=2 
--dispatcher-threads=1";
+    String command = CliStrings.CREATE_GATEWAYSENDER + " --" + 
CliStrings.CREATE_GATEWAYSENDER__ID

Review comment:
       Nice! I take a look on test above, so I do on this way, but this 
proposal is better.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> List gateways command doesn't work properly
> -------------------------------------------
>
>                 Key: GEODE-8742
>                 URL: https://issues.apache.org/jira/browse/GEODE-8742
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, wan
>    Affects Versions: 1.13.0, 1.13.1
>            Reporter: Mario Kevo
>            Assignee: Mario Kevo
>            Priority: Major
>              Labels: pull-request-available
>
> When you create serial gateway sender with dispatcher-threads equals to 1, 
> list gateways command will fail.
>  
> {code:java}
> Cluster-2 gfsh>list gateways
> Error while processing command <list gateways> Reason : null
> Cluster-2 gfsh>list gateways --senders-only
> Error while processing command <list gateways --senders-only> Reason : null
> Cluster-2 gfsh>list gateways --receivers-only
> GatewayReceiver Section
> Member | Port | Sender Count | Senders Connected
> ------------------------------------------ | ---- | ------------ | 
> -----------------
> 192.168.0.145(server-ln-1:27600)<v1>:41001 | 5094 | 0 | 
> 192.168.0.145(server-ln-2:27688)<v2>:41002 | 5434 | 0 |
>  
> {code}
>  
> It fails from introducing GEODE-7757, because it now looks on connected state 
> also to have more info in list gateways command.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to