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

Anton Vinogradov commented on IGNITE-16375:
-------------------------------------------

Each GridAbstractTest.startClientGrid() method execution should be checked to 
produce client node.
Expecting we will find tests where server node is starting now which may cause 
issues.

> GridAbstractTest.startClientGrid() method does not guarantee that started 
> node will be the client
> -------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-16375
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16375
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Anton Vinogradov
>            Priority: Major
>         Attachments: Client_node_start_failed_reproducer.patch
>
>
> If {{cfg.setClientMode(false)}} was applied to the Ignite configuration, 
> {{GridAbstractTest.startClientGrid()}} will start the server node, while 
> client node is expected according to the method name and JavaDoc.
> {noformat}
> Starts new client grid with given index.
> {noformat}
> {{GridAbstractTest.startClientGrid()}} should start client node even when 
> {{cfg.setClientMode(false)}} is set or throw and exception (preferred). 
> See reproducer at  [^Client_node_start_failed_reproducer.patch] 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to