Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21788

C++: Thin 3.0: Client lifecycle Functional Testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • platforms, thin client

    Description

      Need to implement the following plan for integration tests in C++ 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;

      Attachments

        Activity

          People

            Unassigned Unassigned
            isapego Igor Sapego
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: