Igor Sapego created IGNITE-21786:
------------------------------------
Summary: Thin 3.0: Client lifecycle Functional Testing
Key: IGNITE-21786
URL: https://issues.apache.org/jira/browse/IGNITE-21786
Project: Ignite
Issue Type: Improvement
Components: platforms, thin client
Reporter: Igor Sapego
Need to implement the following plan for integration tests in Java client:
- One client, no servers. Make sure client fails to start if no addresses were
provided by the user;
- One client, no servers. Make sure client fails to start if no addresses that
were provided by the user resolve to the running server;
- One client, one server. Make sure client is able to establish connection to
the server if its address specified correctly;
- One client, one server. Make sure client is able to establish connection to
the server if its address specified correctly, but there are also some
addresses not leading to a running servers;
- One client, two servers, two different clusters. Make sure client is able to
establish connection to the first server, but disconnects from the second
server after handshake, and does not attempt to connect to it again;
- One mock client, one server. Make sure server rejects connection, if the
client does not provide a correct magic bytes at the begging of the handshake;
- One mock client, one server. Make sure server rejects connection, if the
client uses unknown protocol version;
- One client, one mock server. Make sure client aborts the connection and
provides user with a proper error message, if the server uses unknown protocol
version;
- One client, three servers. Make sure client connects to all three of servers,
when their addresses are provided by a user;
--
This message was sent by Atlassian Jira
(v8.20.10#820010)