You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "frankgh (via GitHub)" <gi...@apache.org> on 2023/08/22 22:55:18 UTC

[GitHub] [cassandra] frankgh opened a new pull request, #2622: CASSANDRA-18722 Support Dynamic Port Allocation for in-jvm dtest fram…

frankgh opened a new pull request, #2622:
URL: https://github.com/apache/cassandra/pull/2622

   …ework (4.0 patch)
   
   Currently, `INodeProvisionStrategy` supports two strategies `OneNetworkInterface` and `MultipleNetworkInterfaces`. However the `seedPort`, `storagePorts`, `nativeTransportPorts`, and `jmxPorts` are always fixed or a function of the node number.
   
   In order to better support parallel test runs, this commit introduces support for dynamic port allocation for the `seedPort`, `storagePorts`, `nativeTransportPorts`, and `jmxPorts`.
   
   When enabled, the port allocation will be dynamic, an available port for the given bind address will be used instead of the previously statically allocated port number. This would allow us to run multiple clusters within the same test, or it will enable us to run in-jvm dtests in parallel given that the tests do not have other inter-test dependencies.
   
   A new option in the cluster builder is introduced `.withDynamicPortAllocation(boolean)`. To enable the new feature one must request dynamic port allocation while building the cluster.
   
   [CASSANDRA-18722](https://issues.apache.org/jira/browse/CASSANDRA-18722)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cassandra] frankgh commented on pull request #2622: CASSANDRA-18722 Support Dynamic Port Allocation for in-jvm dtest fram…

Posted by "frankgh (via GitHub)" <gi...@apache.org>.
frankgh commented on PR #2622:
URL: https://github.com/apache/cassandra/pull/2622#issuecomment-1696526447

   Closed via 6ffa43f68b8d10ca84d4a00bf81269527b4e14df


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cassandra] frankgh closed pull request #2622: CASSANDRA-18722 Support Dynamic Port Allocation for in-jvm dtest fram…

Posted by "frankgh (via GitHub)" <gi...@apache.org>.
frankgh closed pull request #2622: CASSANDRA-18722 Support Dynamic Port Allocation for in-jvm dtest fram…
URL: https://github.com/apache/cassandra/pull/2622


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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