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 13:28:00 UTC
[jira] [Updated] (CASSANDRA-16918) CQLTester open more java driver
connections than required by the tests
[ https://issues.apache.org/jira/browse/CASSANDRA-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer updated CASSANDRA-16918:
---------------------------------------
Change Category: Quality Assurance
Complexity: Normal
Component/s: Test/unit
Fix Version/s: 4.x
Status: Open (was: Triage Needed)
> 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
> Components: Test/unit
> Reporter: Benjamin Lerer
> Assignee: Benjamin Lerer
> Priority: Normal
> Fix For: 4.x
>
>
> 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