[
https://issues.apache.org/jira/browse/CASSANDRA-16079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247547#comment-17247547
]
Paulo Motta commented on CASSANDRA-16079:
-----------------------------------------
WDYT about setting {{CASSANDRA_TOKEN_PREGENERATION_DISABLED}} on the
constructor of {{TestBootstrap}} instead, and unset where not needed? This way
new tests added there would use the property unless explicitly disabled.
Also, can you maybe include [this commitÂ
|https://github.com/pauloricardomg/ccm/commit/ab3f6c68f01ae335ed38576fe24b48f28e9c2483]
on the ccm patch? It may shave a few seconds from the tests using the token
allocation algorithm, by setting the ring delay to zero on the first started
node and reducing the ring delay from 10s to 5s, what reduces the token
allocation wait time between nodes are started from 30s to 15s.
Other than these minor nits, LGTM, great job!
> Improve dtest runtime
> ---------------------
>
> Key: CASSANDRA-16079
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16079
> Project: Cassandra
> Issue Type: Improvement
> Components: CI
> Reporter: Adam Holmberg
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 4.0-beta
>
> Attachments: Screenshot 2020-09-19 at 12.32.21.png
>
>
> A recent ticket, CASSANDRA-13701, changed the way dtests run, resulting in a
> [30% increase in run
> time|https://www.mail-archive.com/[email protected]/msg15606.html].
> While that change was accepted, we wanted to spin out a ticket to optimize
> dtests in an attempt to gain back some of that runtime.
> At this time we don't have concrete improvements in mind, so the first order
> of this ticket will be to analyze the state of things currently, and try to
> ascertain some valuable optimizations. Once the problems are understood, we
> will break down subtasks to divide the work.
> Some areas to consider:
> * cluster reuse
> * C* startup optimizations
> * Tests that should be ported to in-JVM dtest or even unit tests
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]