This is an automated email from the ASF dual-hosted git repository. bdeggleston pushed a commit to branch cep-45-mutation-tracking in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 3d8f81c4e2a6d8dfd22cbca55aac026ddcc24a36 Author: Blake Eggleston <[email protected]> AuthorDate: Thu Jan 29 10:12:20 2026 -0800 ninja: skip tests using unsupported operations --- .../cassandra/distributed/test/TransientRangeMovement2Test.java | 3 +++ .../cassandra/distributed/test/TransientRangeMovementTest.java | 3 +++ .../cassandra/distributed/test/tracking/MutationTrackingUtils.java | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovement2Test.java b/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovement2Test.java index c52b8920c4..29926b36fe 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovement2Test.java +++ b/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovement2Test.java @@ -22,6 +22,7 @@ import java.io.IOException; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; +import org.junit.Ignore; import org.junit.Test; import org.apache.cassandra.distributed.Cluster; @@ -29,6 +30,7 @@ import org.apache.cassandra.distributed.api.Feature; import org.apache.cassandra.distributed.api.IInstanceConfig; import org.apache.cassandra.distributed.api.IInvokableInstance; import org.apache.cassandra.distributed.shared.NetworkTopology; +import org.apache.cassandra.distributed.test.tracking.MutationTrackingUtils; import org.apache.cassandra.tcm.Epoch; import org.apache.cassandra.tcm.transformations.PrepareMove; import org.apache.cassandra.utils.Pair; @@ -44,6 +46,7 @@ import static org.apache.cassandra.distributed.test.TransientRangeMovementTest.a import static org.apache.cassandra.distributed.test.TransientRangeMovementTest.localStrs; import static org.apache.cassandra.distributed.test.TransientRangeMovementTest.populate; +@Ignore(MutationTrackingUtils.IgnoreReasons.NO_RANGE_MOVEMENTS) @SuppressWarnings("unchecked") public class TransientRangeMovement2Test extends TestBaseImpl { diff --git a/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovementTest.java b/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovementTest.java index 7f1759ae98..4c0cfe0147 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovementTest.java +++ b/test/distributed/org/apache/cassandra/distributed/test/TransientRangeMovementTest.java @@ -30,6 +30,7 @@ import java.util.concurrent.ExecutionException; import java.util.function.Function; import com.google.common.collect.Sets; +import org.junit.Ignore; import org.junit.Test; import org.apache.cassandra.distributed.Cluster; @@ -39,6 +40,7 @@ import org.apache.cassandra.distributed.api.IInstanceConfig; import org.apache.cassandra.distributed.api.IInvokableInstance; import org.apache.cassandra.distributed.api.TokenSupplier; import org.apache.cassandra.distributed.shared.NetworkTopology; +import org.apache.cassandra.distributed.test.tracking.MutationTrackingUtils; import org.apache.cassandra.tcm.ClusterMetadata; import org.apache.cassandra.tcm.Epoch; import org.apache.cassandra.tcm.transformations.PrepareLeave; @@ -58,6 +60,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +@Ignore(MutationTrackingUtils.IgnoreReasons.NO_RANGE_MOVEMENTS) @SuppressWarnings("unchecked") public class TransientRangeMovementTest extends TestBaseImpl { diff --git a/test/distributed/org/apache/cassandra/distributed/test/tracking/MutationTrackingUtils.java b/test/distributed/org/apache/cassandra/distributed/test/tracking/MutationTrackingUtils.java index e1168dcf17..48fc9c259f 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/tracking/MutationTrackingUtils.java +++ b/test/distributed/org/apache/cassandra/distributed/test/tracking/MutationTrackingUtils.java @@ -56,6 +56,13 @@ public class MutationTrackingUtils private static final Logger logger = LoggerFactory.getLogger(MutationTrackingUtils.class); private static final int VERSION = MessagingService.current_version; + public static class IgnoreReasons + { + public static final String NO_RANGE_MOVEMENTS = "NO_RANGE_MOVEMENTS"; + + + } + public static byte[] encodeId(MutationId id) { int size = Ints.checkedCast(MutationId.serializer.serializedSize(id, VERSION)); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
