This is an automated email from the ASF dual-hosted git repository.

bdeggleston pushed a commit to branch cep-58-satellite-datacenters
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cep-58-satellite-datacenters 
by this push:
     new 154b6a38c9 ninja: fix ReplicationFactorTest
154b6a38c9 is described below

commit 154b6a38c944ff5e937af259607dfc4245ddc41c
Author: Blake Eggleston <[email protected]>
AuthorDate: Sat Jun 20 14:51:11 2026 -0700

    ninja: fix ReplicationFactorTest
---
 test/unit/org/apache/cassandra/locator/ReplicationFactorTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/unit/org/apache/cassandra/locator/ReplicationFactorTest.java 
b/test/unit/org/apache/cassandra/locator/ReplicationFactorTest.java
index 91409ad379..c341a84f44 100644
--- a/test/unit/org/apache/cassandra/locator/ReplicationFactorTest.java
+++ b/test/unit/org/apache/cassandra/locator/ReplicationFactorTest.java
@@ -52,9 +52,8 @@ public class ReplicationFactorTest
     public void shouldFailOnInvalidRF()
     {
         assertRfParseFailure("-1", "Replication factor must be non-negative");
-        assertRfParseFailure("3/3", "Transient replicas must be zero, or less 
than total replication factor");
         assertRfParseFailure("3/-1", "Amount of transient nodes should be 
strictly positive");
-        assertRfParseFailure("3/4", "Transient replicas must be zero, or less 
than total replication factor");
+        assertRfParseFailure("3/4", "Transient replicas must be less than or 
equal to total replication factor");
         assertRfParseFailure("3/", "Replication factor format is <replicas> or 
<replicas>/<transient>");
         assertRfParseFailure("1/a", "For input string");
         assertRfParseFailure("a/1", "For input string");


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to