You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (Jira)" <ji...@apache.org> on 2021/09/06 11:35:00 UTC

[jira] [Created] (CASSANDRA-16918) CQLTester open more java driver connections than required by the tests

Benjamin Lerer created CASSANDRA-16918:
------------------------------------------

             Summary: CQLTester open more java driver connections than required by the tests
                 Key: CASSANDRA-16918
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16918
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benjamin Lerer
            Assignee: Benjamin Lerer


When {{requireNetwork}} or {{reinitializeNetwork}} is called within a {{CQLTester}} unit test the test will open 4 connections to the server (one for each protocol version) even if the test only require a single connection.

There are no good reasons for that behavior and the connections can simply be opened on a lazy way. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org