Skip to content
Permalink
Browse files
BLOG - The Path to Green CI
patch by Josh McKenzie, Diogenese Topper; reviewed by Erick Ramirez for CASSANDRA-17639

Co-authored by: Josh McKenzie <jmckenzie@apache.org>
Co-authored by: Diogenese Topper <diogenese@constantia.io>
  • Loading branch information
ErickRamirezAU committed May 19, 2022
1 parent 5107aa9 commit ed057a1e88b8b47d0882a0ec6cc3caa9fc96b6e4
Showing 1 changed file with 8 additions and 8 deletions.
@@ -25,41 +25,41 @@ Below is a list for our past three major releases and how much raw code exists i
4. The `cassandra-dtest` repo .py test files: python distributed tests using https://github.com/riptano/ccm[ccm^]

[%header,cols=3*]
|=======
|===
|&nbsp; |Lines |% total
|src|181,871|57.51%
|junit|100,284|31.71%
|jdtest|9,225|2.92%
|pdtest|24,882|7.87%
|*3.0 Total*|*316,262*|100.00%
|All tests|134,391|42.49%
|=======
|===

{sp} +

[%header,cols=4*]
|=====
|===
|&nbsp; |Lines |% total |% change since 3.0
|src|261,825|52.83%|143.96%
|junit|172,672|34.84%|172.18%
|jdtest|21,769|4.39%|235.98%
|pdtest|39,300|7.93%|157.95%
|*4.0 Total*|*495,566*|100.00%|156.69%
|All tests|233,741|47.17%|
|=======
|===

{sp} +

[%header,cols=4*]
|=======
|||*% total*|*% change since 4.0*
|===
|&nbsp; |Lines |% total|% change since 4.0
|src|297,685|52.58%|113.70%
|junit|197,231|34.84%|114.22%
|jdtest|31,306|5.53%|143.81%
|pdtest|39,905|7.05%|101.54%
|*4.1 Total*|*566,127*|100.00%|114.24%
|All tests|268,442|47.42%|
|=======
|===

The biggest thing that immediately jumps out to me: our in-jvm dtests have been growing at a very strong pace relative to the rest of the code-base. Immense effort has gone into not just authoring this testing _framework_, but also adding new tests to it. As a percentage of our total code, there was a significant jump from 3.0 to 4.0 of almost a 5% relative increase in total test code to the entire codebase.

@@ -115,4 +115,4 @@ We have a balanced tension between wanting to get code changes into the system r

Contributors around the globe are working hard to get Cassandra 4.1 GA soon and just like Cassandra 4.0 before it, we expect this to be the most stable, best performing version of Apache Cassandra we’ve ever released. You can download the test build of Cassandra 4.1 https://nightlies.apache.org/cassandra/cassandra-4.1/Cassandra-4.1-artifacts/23/Cassandra-4.1-artifacts/[here^] and test it out - let us know what you think!

If you haven’t yet, come join the xref:community.adoc[Cassandra development community] and get involved in making the most scalable and available database in the world!
If you haven’t yet, come join the xref:community.adoc[Cassandra development community] and get involved in making the most scalable and available database in the world!

0 comments on commit ed057a1

Please sign in to comment.