cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres de la Peña (Jira) <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-16918) CQLTester open more java driver connections than required by the tests
Date Mon, 06 Sep 2021 13:56:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andres de la Peña updated CASSANDRA-16918:
------------------------------------------
    Reviewers: Andres de la Peña

> 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


Mime
View raw message