cassandra/test
Jon Haddad 8f88969e61 Simplify differential test helpers: extract shared measurement/SQL-building code
- CursorCompactionAllocationGateTest: extract withMeasurementEnv (the repeated
  preemptive-open/cursor-enabled save-set-restore boilerplate in every @Test), measureBest
  (the warmup/measured min-allocation loop), captureLastInputBytes, and dumpAllocationProfile
  (the JFR recording/dump block shared by the three diagnostic tests). No behavior change.
- DifferentialCompactionTester: move the allJson helper (duplicated identically in
  PartialSetDifferentialCompactionTest and PurgeBoundaryDifferentialCompactionTest) to the
  shared base class and delete both copies.
- RandomDifferentialCompactionTest: extract appendNames/appendEqPredicates/appendPlaceholders
  for the column-name-list and "name = ?" predicate-list building repeated across
  insertStmt/pkOnlyInsertStmt/updateStmt/cellDeleteStmt/rangeDeleteStmt/deleteStmt.

Verified by rerunning the full differential suite (all 15 test classes).
2026-07-28 08:18:29 -07:00
..
anttasks/org/apache/cassandra/anttasks Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
bin Add cursor based optimized compaction path 2025-12-19 12:45:25 -05:00
burn/org/apache/cassandra Merge branch 'cassandra-5.0' into cassandra-6.0 2026-07-26 21:06:39 -05:00
conf Support direct I/O for background SSTable writes 2026-06-24 14:57:46 +01:00
data Update 6.0 and 7.0 branches to reflect their versions across the project. 2026-04-21 12:46:11 +02:00
distributed/org/apache/cassandra Merge branch 'cassandra-5.0' into cassandra-6.0 2026-07-26 21:06:39 -05:00
harry/main/org/apache/cassandra Accord: Deterministic time integration 2026-05-18 13:19:25 +01:00
long/org/apache/cassandra Implement custom CassandraThread to keep direct references to frequently used thread local objects 2026-06-02 13:56:59 +01:00
memory/org/apache/cassandra/db/compaction Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
microbench/org/apache/cassandra/test/microbench Merge branch 'cassandra-5.0' into cassandra-6.0 2026-06-14 16:50:17 +02:00
resources Add compound primary key example to nodetool getendpoints help 2026-07-25 09:53:44 +02:00
simulator Add CMS membership directly to ClusterMetadata 2026-07-06 11:52:18 +01:00
unit Simplify differential test helpers: extract shared measurement/SQL-building code 2026-07-28 08:18:29 -07:00