You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Francisco Guerrero (Jira)" <ji...@apache.org> on 2024/01/06 01:09:00 UTC

[jira] [Comment Edited] (CASSANDRA-19251) [Analytics] Speed up integration tests

    [ https://issues.apache.org/jira/browse/CASSANDRA-19251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803647#comment-17803647 ] 

Francisco Guerrero edited comment on CASSANDRA-19251 at 1/6/24 1:08 AM:
------------------------------------------------------------------------

PR: https://github.com/apache/cassandra-analytics/pull/29
CI: https://app.circleci.com/pipelines/github/frankgh/cassandra-analytics/99 (updated)


was (Author: frankgh):
PR: https://github.com/apache/cassandra-analytics/pull/29
CI: https://app.circleci.com/pipelines/github/frankgh/cassandra-analytics/95

> [Analytics] Speed up integration tests
> --------------------------------------
>
>                 Key: CASSANDRA-19251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19251
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Analytics Library
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We can speed up the integration tests by reusing the in-jvm dtest cluster in a test class when possible. The proposal has the following pros and cons.
> Pros: 
> # Ability to iterate faster by running tests faster
> # Reduce the resources needed to run tests
> # Reduce flakiness due to resource allocation issues
> # Remove necessity to spin up a new process for bulk writes
> # Adds the ability to use parameterized tests (for example different CLs for the same test)
> Cons:
> # Potentially having to add new test classes
> # No longer be able to use the {{CassandraIntegrationTest}} annotation
> # Can only test a single Cassandra version at a time
> In terms of resources, the proposed approach brings huge improvements by reducing the current runtime of about 1 hour down to 20 minutes. Additionally, we reduce the resource requirements for the integration tests, and add the ability to iterate faster. Reduces flakiness which helps surface real issues in the tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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