[
https://issues.apache.org/jira/browse/IGNITE-16375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov updated IGNITE-16375:
--------------------------------------
Description:
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 an exception (preferred).
See reproducer at [^Client_node_start_failed_reproducer.patch]
was:
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]
> 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
> Labels: newbie
> 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 an exception (preferred).
> See reproducer at [^Client_node_start_failed_reproducer.patch]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)