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:35:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17410607#comment-17410607 ]
Benjamin Lerer commented on CASSANDRA-16918:
--------------------------------------------
|| PR || CI ||
|[trunk|https://github.com/apache/cassandra/pull/1187] | [J8|https://app.circleci.com/pipelines/github/blerer/cassandra/198/workflows/fa37d888-dabb-4633-b747-bf39af157c90] , [J11|https://app.circleci.com/pipelines/github/blerer/cassandra/198/workflows/73cb131e-daf3-4f4d-9ad8-8951d5d48107] |
> 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